diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index f6cadbfb776d..0635e75b7768 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -2772,12 +2772,12 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) if (req && !mq->mqrq_prev->req) { mmc_rpm_hold(host, &card->dev); + /* claim host only for the first request */ + mmc_claim_host(card->host); #ifdef CONFIG_MMC_BLOCK_DEFERRED_RESUME if (mmc_bus_needs_resume(card->host)) mmc_resume_bus(card->host); #endif - /* claim host only for the first request */ - mmc_claim_host(card->host); if (card->ext_csd.bkops_en) mmc_stop_bkops(card); }