summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJack Yu <jack.yu@realtek.com>2024-06-12 09:01:07 +0000
committerMark Brown <broonie@kernel.org>2024-06-12 18:26:31 +0100
commitf3b198e4788fcc8d03ed0c8bd5e3856c6a5760c5 (patch)
tree67fbd9a187e8667140e6d62cc502cf1e90270c10 /sound
parent6f2a43e3d14f6e31a3b041a1043195d02c54d615 (diff)
ASoC: rt722-sdca-sdw: add debounce time for type detection
Add debounce time in headset type detection for better performance. Signed-off-by: Jack Yu <jack.yu@realtek.com> Link: https://lore.kernel.org/r/7e502e9a9dd94122a1b60deb5ceb60fb@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/rt722-sdca-sdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt722-sdca-sdw.c b/sound/soc/codecs/rt722-sdca-sdw.c
index f73ee3bf90f5..87354bb1564e 100644
--- a/sound/soc/codecs/rt722-sdca-sdw.c
+++ b/sound/soc/codecs/rt722-sdca-sdw.c
@@ -352,7 +352,7 @@ static int rt722_sdca_interrupt_callback(struct sdw_slave *slave,
if (status->sdca_cascade && !rt722->disable_irq)
mod_delayed_work(system_power_efficient_wq,
- &rt722->jack_detect_work, msecs_to_jiffies(30));
+ &rt722->jack_detect_work, msecs_to_jiffies(280));
mutex_unlock(&rt722->disable_irq_lock);