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 ASoC: Fix 7/8 spaces indentation in Kconfig 2020-11-17 17:08:45 +00:00
Makefile ASoC: eliminate left-over from Raumfeld machine driver removal 2019-01-07 16:58:19 +00:00
brownstone.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
corgi.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
e740_wm9705.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
e750_wm9705.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
e800_wm9712.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
em-x270.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
hx4700.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
imote2.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
magician.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
mioa701_wm9713.c ASoC: pxa: rename to snd_soc_component_read() 2020-06-22 15:13:38 +01:00
mmp-pcm.c ASoC: pxa: fix null-pointer dereference in filter() 2022-12-31 13:14:09 +01:00
mmp-sspa.c ASoC: mmp-sspa: drop unneeded snd_soc_dai_set_drvdata 2021-03-10 13:07:05 +00:00
mmp-sspa.h ASoC: mmp-sspa: Add Device Tree support 2020-05-19 20:52:49 +01:00
palm27x.c Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
poodle.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
pxa-ssp.c ASoC: pxa: fix a memory leak in probe() 2023-10-25 11:59:03 +02:00
pxa-ssp.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pxa2xx-ac97.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
pxa2xx-i2s.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
pxa2xx-i2s.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pxa2xx-pcm.c ALSA: pxa2xx: Use managed PCM buffer allocation 2021-08-04 08:08:21 +02:00
spitz.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
tosa.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
ttc-dkb.c ASoC: pxa: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:43 +00:00
z2.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00
zylonite.c ASoC: pxa: use asoc_substream_to_rtd() 2020-07-23 19:07:27 +01:00