summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2023-09-19 12:31:14 +0200
committerMark Brown <broonie@kernel.org>2023-09-19 14:49:00 +0200
commit9c0ccc9f8e3be79ab44f5f8034ef90c367caf06f (patch)
treeb374a4c6ec9af5982b9e58e49280d1ebc639a530
parentASoC: cs42l43: Lower default type detect time (diff)
downloadlinux-9c0ccc9f8e3be79ab44f5f8034ef90c367caf06f.tar.xz
linux-9c0ccc9f8e3be79ab44f5f8034ef90c367caf06f.zip
ASoC: cs42l43: Enable bias sense by default
Improve the default pop performance on jack removal by enabling bias sense on the least sensitive level by default. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230919103116.580305-4-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
-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 7008e50eded9..7bd7cc177950 100644
--- a/sound/soc/codecs/cs42l43-jack.c
+++ b/sound/soc/codecs/cs42l43-jack.c
@@ -127,7 +127,7 @@ int cs42l43_set_jack(struct snd_soc_component *component,
hs2 |= ret << CS42L43_HSBIAS_RAMP_SHIFT;
- ret = cs42l43_find_index(priv, "cirrus,bias-sense-microamp", 0,
+ ret = cs42l43_find_index(priv, "cirrus,bias-sense-microamp", 14,
&priv->bias_sense_ua, cs42l43_accdet_bias_sense,
ARRAY_SIZE(cs42l43_accdet_bias_sense));
if (ret < 0)