projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fec81a
)
mmc: core: Release delayed mmc work wakelock after deep disable
author
San Mehat
<san@google.com>
Tue, 9 Feb 2010 20:08:48 +0000
(12:08 -0800)
committer
Colin Cross
<ccross@android.com>
Tue, 14 Jun 2011 16:09:27 +0000
(09:09 -0700)
Signed-off-by: San Mehat <san@google.com>
drivers/mmc/core/core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/core.c
b/drivers/mmc/core/core.c
index 3d9b0e16b4a4a7762699dd5cc181fc34304b6ec6..beb5b8797f50ff8346d4595271a5f84ca8e45e2f 100644
(file)
--- a/
drivers/mmc/core/core.c
+++ b/
drivers/mmc/core/core.c
@@
-559,9
+559,12
@@
void mmc_host_deeper_disable(struct work_struct *work)
/* If the host is claimed then we do not want to disable it anymore */
if (!mmc_try_claim_host(host))
-
return
;
+
goto out
;
mmc_host_do_disable(host, 1);
mmc_do_release_host(host);
+
+out:
+ wake_unlock(&mmc_delayed_work_wake_lock);
}
/**