]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e3740a7e502df63aed6ec08dc47b8e030e68349
tree9863c7d9cda0cb717201d4ad62501787ffef59d0
parent0e6cc806b5344e1a4a775ae9b5686f3c72a79261
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