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:
24152b5
)
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
San Mehat
<san@google.com>
Tue, 9 Feb 2010 20:09:28 +0000
(12:09 -0800)
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 3bc1081a464180d538c5e3b6af637fe7bf3597ef..fb25fd001f4a33672885789d0dbc7cd068af7391 100644
(file)
--- a/
drivers/mmc/core/core.c
+++ b/
drivers/mmc/core/core.c
@@
-532,9
+532,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);
}
/**