diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-13 15:46:30 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-21 10:53:07 +0200 |
| commit | 78cf8e807954e1c877044f9d11c27c8b9d2e9eac (patch) | |
| tree | 5422339ac767440fb036acd3b08879d04912b1b2 /drivers/net/xen-netfront.c | |
| parent | 616eb09ab0cbee743c5c57a01d2f070df2ca248e (diff) | |
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: 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions
