aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/card/block.c')
-rw-r--r--drivers/mmc/card/block.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index 892844f5206..3e3557694e5 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -1467,9 +1467,6 @@ static int mmc_blk_issue_rw_rq(struct mmc_queue *mq, struct request *rqc)
1467 return 0; 1467 return 0;
1468} 1468}
1469 1469
1470static int
1471mmc_blk_set_blksize(struct mmc_blk_data *md, struct mmc_card *card);
1472
1473static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) 1470static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
1474{ 1471{
1475 int ret; 1472 int ret;
@@ -1477,10 +1474,8 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req)
1477 struct mmc_card *card = md->queue.card; 1474 struct mmc_card *card = md->queue.card;
1478 1475
1479#ifdef CONFIG_MMC_BLOCK_DEFERRED_RESUME 1476#ifdef CONFIG_MMC_BLOCK_DEFERRED_RESUME
1480 if (mmc_bus_needs_resume(card->host)) { 1477 if (mmc_bus_needs_resume(card->host))
1481 mmc_resume_bus(card->host); 1478 mmc_resume_bus(card->host);
1482 mmc_blk_set_blksize(md, card);
1483 }
1484#endif 1479#endif
1485 1480
1486 if (req && !mq->mqrq_prev->req) 1481 if (req && !mq->mqrq_prev->req)