projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2a43e
)
ASoC: rt722-sdca-sdw: add debounce time for type detection
author
Jack Yu
<jack.yu@realtek.com>
Wed, 12 Jun 2024 09:01:07 +0000
(09:01 +0000)
committer
Mark Brown
<broonie@kernel.org>
Wed, 12 Jun 2024 17:26:31 +0000
(18:26 +0100)
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>
sound/soc/codecs/rt722-sdca-sdw.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt722-sdca-sdw.c
b/sound/soc/codecs/rt722-sdca-sdw.c
index f73ee3bf90f5e6b0a98aef236fda1eaf7dd28193..87354bb1564e8d1c904222b9602481967ebd3907 100644
(file)
--- 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(
3
0));
+ &rt722->jack_detect_work, msecs_to_jiffies(
28
0));
mutex_unlock(&rt722->disable_irq_lock);