linux-stable/sound
Nicolas Frattaroli bd1b0ee60b ASoC: rk3328: fix disabling mclk on pclk probe failure
[ Upstream commit dd508e324c ]

If preparing/enabling the pclk fails, the probe function should
unprepare and disable the previously prepared and enabled mclk,
which it doesn't do. This commit rectifies this.

Fixes: c32759035a ("ASoC: rockchip: support ACODEC for rk3328")
Signed-off-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Reviewed-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
Link: https://lore.kernel.org/r/20220427172310.138638-1-frattaroli.nicolas@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:25:45 +02:00
..
ac97
aoa
arm
atmel
core ALSA: pcm: Check for null pointer of pointer substream before dereferencing it 2022-06-09 10:25:42 +02:00
drivers ALSA: mtpav: Don't call card private_free at probe error path 2022-04-20 09:36:16 +02:00
firewire ALSA: fireworks: fix wrong return count shorter than expected by 4 bytes 2022-05-12 12:32:16 +02:00
hda ALSA: hda: intel-dsp-config: Add RaptorLake PCI IDs 2022-05-09 09:16:28 +02:00
i2c
isa ALSA: wavefront: Proper check of get_user() error 2022-05-25 09:59:02 +02:00
mips
oss
parisc
pci ALSA: hda/realtek - Fix microphone noise on ASUS TUF B550M-PLUS 2022-06-09 10:25:13 +02:00
pcmcia
ppc
sh
soc ASoC: rk3328: fix disabling mclk on pclk probe failure 2022-06-09 10:25:45 +02:00
sparc
spi ALSA: spi: Add check for clk_enable() 2022-04-08 13:57:49 +02:00
synth
usb ALSA: usb-audio: Move generic implicit fb quirk entries into quirks.c 2022-06-09 10:25:33 +02:00
virtio
x86 ALSA: intel_hdmi: Fix the missing snd_card_free() call at probe error 2022-04-20 09:36:10 +02:00
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c