From: San Mehat Date: Tue, 9 Feb 2010 20:08:48 +0000 (-0800) Subject: mmc: core: Release delayed mmc work wakelock after deep disable X-Git-Tag: firefly_0821_release~11651 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e4adc653748af0499f30809e47764bee6563e53f;p=firefly-linux-kernel-4.4.55.git mmc: core: Release delayed mmc work wakelock after deep disable Signed-off-by: San Mehat --- diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 3bc1081a4641..fb25fd001f4a 100644 --- 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); } /**