From e2a7bbb191e5c7f77e6bf326c497eb6794f3b218 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Sat, 30 Jul 2011 22:27:00 +0800 Subject: [PATCH] Revert "mmc: core: Release delayed mmc work wakelock after deep disable" This reverts commit e4adc653748af0499f30809e47764bee6563e53f. --- drivers/mmc/core/core.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index fb25fd001f4a..3bc1081a4641 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -532,12 +532,9 @@ 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)) - goto out; + return; mmc_host_do_disable(host, 1); mmc_do_release_host(host); - -out: - wake_unlock(&mmc_delayed_work_wake_lock); } /** -- 2.34.1