ASoC: cs42l43: Extend timeout on bias sense timeout
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 19 Sep 2023 10:31:16 +0000 (11:31 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Sep 2023 12:49:02 +0000 (13:49 +0100)
commit6388a0619c83625214e98377c32bcefa4fffb9cd
treedebeb66ffd4c2789a52060838ddd30c37ea1d07d
parent1e4ce0d5c023e8d8663f6b79b98b9f8026776127
ASoC: cs42l43: Extend timeout on bias sense timeout

For very slow removals the current bias sense timeout is sometimes too
short and unclamps the mic bias before the jack removal is properly
detected by the tip detect, causing a pop. As bias sense should be
tuned to deliver very few false positives, increase the timeout fairly
dramatically to cover all but the most exaggerated removals.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230919103116.580305-6-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l43-jack.c