]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Use delayed work for debounce of GPIO based jacks
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 6 Oct 2010 22:54:28 +0000 (15:54 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Oct 2010 19:58:56 +0000 (12:58 -0700)
commit0df4186076d479a01e068c9fb503f1c92efd953a
treeca487b5abebf8ce0b587434b682070c242e718ea
parent86e3822a4643afca7b56017ac930ca27bad7410f
ASoC: Use delayed work for debounce of GPIO based jacks

Rather than block the workqueue by sleeping to do the debounce use delayed
work to implement the debounce time. This should also means that we extend
the debounce time on each new bounce, potentially allowing shorter debounce
times for clean insertions.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/sound/soc.h
sound/soc/soc-jack.c