]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: codecs: wm0010: Fix error handling path in wm0010_spi_probe()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 10 Mar 2025 17:45:36 +0000 (18:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:31:52 +0000 (14:31 +0200)
commit2fc361f0d32ceedc9155f42daf073533a4f6ca37
treeade768061bae1e78ec13310c2e2af5c52633205f
parentb14482befdb68082e5e0a67bd12b5e5dbff75c1f
ASoC: codecs: wm0010: Fix error handling path in wm0010_spi_probe()

[ Upstream commit ed92bc5264c4357d4fca292c769ea9967cd3d3b6 ]

Free some resources in the error handling path of the probe, as already
done in the remove function.

Fixes: e3523e01869d ("ASoC: wm0010: Add initial wm0010 DSP driver")
Fixes: fd8b96574456 ("ASoC: wm0010: Clear IRQ as wake source and include missing header")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/5139ba1ab8c4c157ce04e56096a0f54a1683195c.1741549792.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/wm0010.c