Re: [PATCH] [v2] ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
From: Takashi Iwai
Date: Thu Aug 13 2020 - 05:22:26 EST
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@xxxxxxxxxx>
Applied, thanks.
Takashi