ASoC: cs42l43: Shut down jack detection on component remove
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 2 Feb 2024 14:06:19 +0000 (14:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Feb 2024 14:32:26 +0000 (14:32 +0000)
commit3ef9f445ddb1e061ce497f54ca75bbaec52a3a46
tree7620d49cabe1b6de96b414a149eaec6ae6fa54e7
parent7fa1a01ba6cb64bc24e7ba0dbee589f3f09f3cf7
ASoC: cs42l43: Shut down jack detection on component remove

Disable the jack detection and sync in any currently running work when
the component is removed.

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