]> 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)
commit1890f5cdab25dbb66ac2cb0df589ffff8d652bdc
tree214276928c629086368b1fe43e9f29c736509f78
parente151a285a97fa766244d484cbf8e87ec5c9484dc
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