ASoC: cs42l43: Sync the hp ilimit works when removing the component
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 2 Feb 2024 14:06:18 +0000 (14:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Feb 2024 14:32:25 +0000 (14:32 +0000)
commit7fa1a01ba6cb64bc24e7ba0dbee589f3f09f3cf7
treea13248598aae64ff48e5f2e066970dfb2de359dc
parentcd2a2388614fcf2b9b626332c0da53a2c6cbf2ee
ASoC: cs42l43: Sync the hp ilimit works when removing the component

Synchronise the headphone ilimit work functions when removing the
component. These can only trigger whilst the headphone is enabled which
shouldn't be possible once the component is removed but the works rely
on the stashed component pointer so they should be shut down before the
code moves on from component remove.

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