ASoC: cs42l43: Add clear of stashed pointer on component remove

If the component is removed the stashed component pointer in the
CODECs private struct should also be cleared to prevent use of a stale
pointer.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240202140619.1068560-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Charles Keepax 2024-02-02 14:06:17 +00:00 • committed by Mark Brown
commit cd2a238861
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0