Revert "mmc: core: Release delayed mmc work wakelock after deep disable"
author黄涛 <huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:27:00 +0000 (22:27 +0800)
committer黄涛 <huangtao@rock-chips.com>
Sat, 30 Jul 2011 14:27:00 +0000 (22:27 +0800)
This reverts commit e4adc653748af0499f30809e47764bee6563e53f.

drivers/mmc/core/core.c

index fb25fd001f4a33672885789d0dbc7cd068af7391..3bc1081a464180d538c5e3b6af637fe7bf3597ef 100644 (file)
@@ -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);
 }
 
 /**