https://github.com/torvalds/linux
Revision 5a25de6df789cc805a9b8ba7ab5deef5067af47e authored by Dinghao Liu on 13 August 2020, 07:46:30 UTC, committed by Takashi Iwai on 13 August 2020, 09:21:05 UTC
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: 47b5d028fdce8 ("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>
1 parent d96f27c
History
Tip revision: 5a25de6df789cc805a9b8ba7ab5deef5067af47e authored by Dinghao Liu on 13 August 2020, 07:46:30 UTC
ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
Tip revision: 5a25de6
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.9 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 548.2 KB
Makefile -rw-r--r-- 60.5 KB
README -rw-r--r-- 727 bytes

README

back to top