diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/mmc_block.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c index 19ccfed8a54f..05ba8ace70e7 100644 --- a/drivers/mmc/mmc_block.c +++ b/drivers/mmc/mmc_block.c | |||
@@ -379,9 +379,10 @@ static int mmc_blk_issue_rq(struct mmc_queue *mq, struct request *req) | |||
379 | spin_unlock_irq(&md->lock); | 379 | spin_unlock_irq(&md->lock); |
380 | } | 380 | } |
381 | 381 | ||
382 | flush_queue: | ||
383 | |||
382 | mmc_card_release_host(card); | 384 | mmc_card_release_host(card); |
383 | 385 | ||
384 | flush_queue: | ||
385 | spin_lock_irq(&md->lock); | 386 | spin_lock_irq(&md->lock); |
386 | while (ret) { | 387 | while (ret) { |
387 | ret = end_that_request_chunk(req, 0, | 388 | ret = end_that_request_chunk(req, 0, |