]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: add delay time of workqueue to control next IRQ event
authorShuming Fan <shumingf@realtek.com>
Tue, 9 Mar 2021 08:58:27 +0000 (16:58 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:14:34 +0000 (13:14 +0000)
commit44042e94fbdca81fd4ad79ab8b8f20f030ee248c
tree214276928c629086368b1fe43e9f29c736509f78
parenta4d0ac4daafbdfcabb6cc141e68567c6b8e9ea27
ASoC: rt5682: add delay time of workqueue to control next IRQ event

This patch keeps the delay time (50 ms) for jack detection and zero delay time for the button press.
This patch improves the reaction of the button press.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20210309085827.32032-1-shumingf@realtek.com
Tested-by Curtis Malainey <cujomalainey@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682-i2c.c
sound/soc/codecs/rt5682-sdw.c
sound/soc/codecs/rt5682.c
sound/soc/codecs/rt5682.h