android_kernel_samsung_sm8650/sound/soc/pxa
Dan Carpenter 3d57f6ac64 ASoC: pxa: fix a memory leak in probe()
[ Upstream commit aa6464edbd51af4a2f8db43df866a7642b244b5f ]

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 12:03:15 +02:00
..
brownstone.c
corgi.c
e740_wm9705.c
e750_wm9705.c
e800_wm9712.c
em-x270.c
hx4700.c ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
Kconfig
magician.c ASoC: pxa: Update to use set_fmt_new callback 2022-06-06 12:33:41 +01:00
Makefile
mioa701_wm9713.c
mmp-pcm.c ASoC: pxa: fix null-pointer dereference in filter() 2022-12-31 13:32:11 +01:00
mmp-sspa.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
mmp-sspa.h
palm27x.c ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
poodle.c
pxa2xx-ac97.c
pxa2xx-i2s.c ASoC: pxa: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:40 +01:00
pxa2xx-i2s.h
pxa2xx-pcm.c
pxa-ssp.c ASoC: pxa: fix a memory leak in probe() 2023-10-25 12:03:15 +02:00
pxa-ssp.h
spitz.c
tosa.c
ttc-dkb.c
z2.c ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
zylonite.c