android_kernel_xiaomi_sm7250/sound
Dinghao Liu 9a1b7ced0f ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
[ Upstream commit 5a25de6df789cc805a9b8ba7ab5deef5067af47e ]

Freeing chip on error may lead to an Oops at the next time
the system goes to resume. Fix this by removing all
snd_echo_free() calls on error.

Fixes: 47b5d028fd ("ALSA: Echoaudio - Add suspend support #2")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20200813074632.17022-1-dinghao.liu@zju.edu.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-21 11:05:38 +02:00
..
ac97
aoa
arm
atmel
core ALSA: seq: oss: Serialize ioctls 2020-08-11 15:32:31 +02:00
drivers ALSA: opl3: fix infoleak in opl3 2020-07-16 08:17:25 +02:00
firewire
hda
i2c
isa ALSA: isa/wavefront: prevent out of bounds write in ioctl 2020-06-25 15:32:48 +02:00
mips
oss
parisc
pci ALSA: echoaudio: Fix potential Oops in snd_echo_resume() 2020-08-21 11:05:38 +02:00
pcmcia
ppc
sh
soc ASoC: meson: axg-tdm-interface: fix link fmt setup 2020-08-19 08:15:01 +02:00
sparc
spi
synth
usb ALSA: usb-audio: add quirk for Pioneer DDJ-RB 2020-08-19 08:15:06 +02:00
x86
xen
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c