projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88e20c1
)
ASoC: cs42l43: Lower default type detect time
author
Charles Keepax
<ckeepax@opensource.cirrus.com>
Tue, 19 Sep 2023 10:31:13 +0000
(11:31 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 19 Sep 2023 12:48:59 +0000
(13:48 +0100)
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>
sound/soc/codecs/cs42l43-jack.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/cs42l43-jack.c
b/sound/soc/codecs/cs42l43-jack.c
index 92e37bc1df9dcc640ea0220e0c165499ab36e3bb..7008e50eded966b2df4ccd6166eed609d7da38df 100644
(file)
--- 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", 1000
0
, &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;