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 <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
2 files changed