diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-03 21:45:07 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-03 23:16:48 +0300 |
commit | 11e16eb365f4f6979cfcb2a2d379338b383590d9 (patch) | |
tree | 7f8010b876edbb58324bf4b8949728541a8cd366 /sound/soc/soc-core.c | |
parent | 7b0f42b59a01a2cc563c5f8670133b819e5c9895 (diff) | |
download | linux-11e16eb365f4f6979cfcb2a2d379338b383590d9.tar.xz |
ASoC: Use pm_wakeup_event() in WM8962 jack detection
Ensure that the system does not suspend while we process a WM8962 jack
event by using pm_wakeup_event() to block the suspend while we're waiting
for the jack to settle. Use a slightly longer timeout than the jack waits
to allow for other stuff to take over and delays in scheduling.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions