[PATCH] [v2] ALSA: echoaudio: Fix potential Oops in snd_echo_resume()

Takashi Iwai tiwai at suse.de
Thu Aug 13 11:22:17 CEST 2020


On Thu, 13 Aug 2020 09:46:30 +0200,
Dinghao Liu wrote:
> 
> 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 at zju.edu.cn>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list