projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fac8899
)
mmc: Proper unclaim in mmc_block
author
Pierre Ossman
<drzeus@drzeus.cx>
Tue, 30 Jan 2007 06:48:04 +0000
(07:48 +0100)
committer
Pierre Ossman
<drzeus@drzeus.cx>
Sun, 4 Feb 2007 19:54:11 +0000
(20:54 +0100)
Make sure we release the claim on the host even on failure.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/mmc_block.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/mmc_block.c
b/drivers/mmc/mmc_block.c
index 19ccfed8a54f8b36178f3400c9a294bf15666f49..05ba8ace70e7801071a2a614ad4e9d74d13f1502 100644
(file)
--- 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)
spin_unlock_irq(&md->lock);
}
+flush_queue:
+
mmc_card_release_host(card);
-flush_queue:
spin_lock_irq(&md->lock);
while (ret) {
ret = end_that_request_chunk(req, 0,