]> www.infradead.org Git - users/hch/misc.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)
committerMark Brown <broonie@kernel.org>
Tue, 11 Mar 2025 13:51:52 +0000 (13:51 +0000)
commited92bc5264c4357d4fca292c769ea9967cd3d3b6
treeca791de9a6af17cb6576f2b471ecef598d63e247
parent247fba13416af65b155949bae582d55c310f58b6
ASoC: codecs: wm0010: Fix error handling path in wm0010_spi_probe()

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>
sound/soc/codecs/wm0010.c