]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: cs42l43: Reset clamp override on jack removal
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 9 Apr 2025 12:07:17 +0000 (13:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:45:40 +0000 (10:45 +0200)
commitd1d6fa08b1efc02d979421c6332d43f41f2054f4
tree9810a394706a166ba2196821aec9d07a73beef20
parentefeddd8acecf6f65f110799aeb403fdb0ef100d2
ASoC: cs42l43: Reset clamp override on jack removal

[ Upstream commit 5fc7d2b5cab47f2ac712f689140b1fed978fb91c ]

Some of the manually selected jack configurations will disable the
headphone clamp override. Restore this on jack removal, such that
the state is consistent for a new insert.

Fixes: fc918cbe874e ("ASoC: cs42l43: Add support for the cs42l43")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250409120717.1294528-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