1
0
Fork 0
freescale-linux-fslc/sound/pci/echoaudio
Dinghao Liu 5a25de6df7 ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
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>
2020-08-13 11:21:05 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
darla20.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
darla20_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
darla24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
darla24_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
echo3g.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
echo3g_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
echoaudio.c ALSA: echoaudio: Fix potential Oops in snd_echo_resume() 2020-08-13 11:21:05 +02:00
echoaudio.h ALSA: echoaduio: Drop superfluous volatile modifier 2020-08-11 14:21:49 +02:00
echoaudio_3g.c ALSA: echoaudio: Proper endian notations 2018-07-27 09:06:09 +02:00
echoaudio_dsp.c ALSA: echoaudio: Prevent some noise on unloading the module 2020-07-09 12:59:07 +02:00
echoaudio_dsp.h ALSA: echoaudio: Proper endian notations 2018-07-27 09:06:09 +02:00
echoaudio_gml.c ALSA: echoaudio: Proper endian notations 2018-07-27 09:06:09 +02:00
gina20.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
gina20_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
gina24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
gina24_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
indigo.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigo_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
indigo_express_dsp.c ALSA: echoaudio: remove all snd_printk 2014-11-03 14:07:25 +01:00
indigodj.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigodj_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
indigodjx.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigodjx_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
indigoio.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigoio_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
indigoiox.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
indigoiox_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
layla20.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
layla20_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
layla24.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
layla24_dsp.c ALSA: echoaudio: Fix improper return value in function load_asic 2016-11-29 19:59:57 +01:00
mia.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
mia_dsp.c ALSA: echoaudio: Use standard C definitions of true and false 2015-08-10 14:27:16 +02:00
midi.c ALSA: Convert timers to use timer_setup() 2017-10-26 14:44:59 +02:00
mona.c ALSA: pci: Constify snd_pcm_hardware definitions 2020-01-03 09:23:47 +01:00
mona_dsp.c ALSA: echoaudio: Remove redundant check 2020-07-09 12:57:59 +02:00