WSL2-Linux-Kernel/sound/soc/pxa
Dan Carpenter 67f29cd2f8 ASoC: pxa: fix a memory leak in probe()
[ Upstream commit aa6464edbd ]

Free the "priv" pointer before returning the error code.

Fixes: 90eb6b59d3 ("ASoC: pxa-ssp: add support for an external clock in devicetree")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/84ac2313-1420-471a-b2cb-3269a2e12a7c@moroto.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-10-25 11:59:03 +02:00
..
Kconfig
Makefile
brownstone.c
corgi.c
e740_wm9705.c
e750_wm9705.c
e800_wm9712.c
em-x270.c
hx4700.c
imote2.c
magician.c
mioa701_wm9713.c
mmp-pcm.c
mmp-sspa.c
mmp-sspa.h
palm27x.c
poodle.c
pxa-ssp.c
pxa-ssp.h
pxa2xx-ac97.c
pxa2xx-i2s.c
pxa2xx-i2s.h
pxa2xx-pcm.c
spitz.c
tosa.c
ttc-dkb.c
z2.c
zylonite.c