ASoC: rt5682: improve the sensitivity of push button
authorShuming Fan <shumingf@realtek.com>
Wed, 30 Oct 2019 08:55:33 +0000 (16:55 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 30 Oct 2019 14:13:21 +0000 (14:13 +0000)
commite226445802cb2a51c3cb127fac31fba0a4330e87
tree9863c7d9cda0cb717201d4ad62501787ffef59d0
parente9904ed5e73af4fd00cf4fcf705420a385af45da
ASoC: rt5682: improve the sensitivity of push button

The sensitivity could improve by decreasing the HW debounce time
and reduce the delay time of workequeue.
This patch added a device property for HW debounce time control.
We could change this value to tune the sensitivity of push button.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20191030085533.14299-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/rt5682.h
sound/soc/codecs/rt5682.c