]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: cs42l43: Disable headphone clamps during type detection
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 23 Apr 2025 09:09:44 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:13:51 +0000 (11:13 +0200)
commita3d3186c3116b0be8fdc85621335c444a7257ead
tree4b6134fb02ef7cec3319e9e87a72f786db3592cb
parent536cdfc370ce3bed69201bb25a861e854455b1c8
ASoC: cs42l43: Disable headphone clamps during type detection

[ Upstream commit 70ad2e6bd180f94be030aef56e59693e36d945f3 ]

The headphone clamps cause fairly loud pops during type detect
because they sink current from the detection process itself. Disable
the clamps whilst the type detect runs, to improve the detection
pop performance.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250423090944.1504538-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/cs42l43-jack.c