diff options
author | Ding Xiang <dingxiang@cmss.chinamobile.com> | 2019-07-23 15:44:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-31 07:25:00 +0200 |
commit | 38c1eed50a8526691e7399387175888cf900c005 (patch) | |
tree | 62a6716646790675cc2ac53968d8790f0b2f21ad /sound/usb/line6/podhd.c | |
parent | e24e8d9ae65d363bf9466952330ff1c170d11557 (diff) | |
download | linux-stable-38c1eed50a8526691e7399387175888cf900c005.tar.gz linux-stable-38c1eed50a8526691e7399387175888cf900c005.tar.bz2 linux-stable-38c1eed50a8526691e7399387175888cf900c005.zip |
ALSA: ac97: Fix double free of ac97_codec_device
commit 607975b30db41aad6edc846ed567191aa6b7d893 upstream.
put_device will call ac97_codec_release to free
ac97_codec_device and other resources, so remove the kfree
and other redundant code.
Fixes: 74426fbff66e ("ALSA: ac97: add an ac97 bus")
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb/line6/podhd.c')
0 files changed, 0 insertions, 0 deletions