summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l43-jack.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2023-09-19 12:31:13 +0200
committerMark Brown <broonie@kernel.org>2023-09-19 14:48:59 +0200
commit686b8f711b990d895d39dee3fab88861917d2dc4 (patch)
treef7b279c1d666857e4c858d8d2af1ce8a4a5f1a16 /sound/soc/codecs/cs42l43-jack.c
parentASoC: da7213: add .auto_selectable_formats support (diff)
downloadlinux-686b8f711b990d895d39dee3fab88861917d2dc4.tar.xz
linux-686b8f711b990d895d39dee3fab88861917d2dc4.zip
ASoC: cs42l43: Lower default type detect time
The current default is a little excessive, reduce the pop on insertion by reducing the time a little. The new value of 1000uS is still pretty conservative. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230919103116.580305-3-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs42l43-jack.c')
-rw-r--r--sound/soc/codecs/cs42l43-jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l43-jack.c b/sound/soc/codecs/cs42l43-jack.c
index 92e37bc1df9d..7008e50eded9 100644
--- a/sound/soc/codecs/cs42l43-jack.c
+++ b/sound/soc/codecs/cs42l43-jack.c
@@ -110,7 +110,7 @@ int cs42l43_set_jack(struct snd_soc_component *component,
priv->buttons[3] = 735;
}
- ret = cs42l43_find_index(priv, "cirrus,detect-us", 10000, &priv->detect_us,
+ ret = cs42l43_find_index(priv, "cirrus,detect-us", 1000, &priv->detect_us,
cs42l43_accdet_us, ARRAY_SIZE(cs42l43_accdet_us));
if (ret < 0)
goto error;