mmc: core: Release delayed mmc work wakelock after deep disable

Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
San Mehat
2010-02-09 12:08:48 -08:00
parent 24152b5a73
commit e4adc65374

View File

@@ -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);
}
/**