commit | bd56c81191ebd4b3c33b681e1035e8ab5acaf837 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Dec 13 01:22:19 2011 +0800 |
committer | Andy Green <andy.green@linaro.org> | Mon Jan 09 11:18:54 2012 +0800 |
tree | ea2a41f0262ade864ee63f36699453c843f2eff7 | |
parent | 0362aa2be1fd1dc9201ec979d0986b23fee472ab [diff] |
mmc: core: host: only use wakelock for detect work There is no need to take a wakelock for delayed lazy disable work, it will be cancelled in the suspend handler and force disabled. Only take the wakelock when the detect work is queued, and make sure to drop the wakelock if the work is cancelled. Change-Id: I1e507a5f98848954ea21d45e23b6192c3132a349 Signed-off-by: Colin Cross <ccross@android.com>