mmc: core: Release delayed mmc work wakelock after deep disable
Signed-off-by: San Mehat <san@google.com>
This commit is contained in:
@@ -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 the host is claimed then we do not want to disable it anymore */
|
||||||
if (!mmc_try_claim_host(host))
|
if (!mmc_try_claim_host(host))
|
||||||
return;
|
goto out;
|
||||||
mmc_host_do_disable(host, 1);
|
mmc_host_do_disable(host, 1);
|
||||||
mmc_do_release_host(host);
|
mmc_do_release_host(host);
|
||||||
|
|
||||||
|
out:
|
||||||
|
wake_unlock(&mmc_delayed_work_wake_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user