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
committed by Colin Cross
parent 5fec81a237
commit 617a3dcb3f

View File

@@ -559,9 +559,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);
}
/**