]> 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>
Sat, 22 Mar 2025 19:54:26 +0000 (12:54 -0700)
commite72a52a5cf186e4b8c0cb18d4e54b77d3b40c28f
tree6391da08f7d2c5803e16eb5448c1e9b34ca14486
parent77213a424a4853e411056e8b51c7138300041499
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