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)
commit542712826f8d3b0a72e66d7feec2dedba5dfa297
tree214276928c629086368b1fe43e9f29c736509f78
parentd59cfc6544dc19a1d1c1e47d95dd2150da3daf56
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