Skip to content

Commit f3b198e

Browse files
Jack Yubroonie
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6f2a43e commit f3b198e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/rt722-sdca-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ static int rt722_sdca_interrupt_callback(struct sdw_slave *slave,
352352

353353
if (status->sdca_cascade && !rt722->disable_irq)
354354
mod_delayed_work(system_power_efficient_wq,
355-
&rt722->jack_detect_work, msecs_to_jiffies(30));
355+
&rt722->jack_detect_work, msecs_to_jiffies(280));
356356

357357
mutex_unlock(&rt722->disable_irq_lock);
358358

0 commit comments

Comments
 (0)