aboutsummaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorGravatar Ding Xiang <dingxiang@cmss.chinamobile.com> 2019-07-23 15:44:41 +0800
committerGravatar Takashi Iwai <tiwai@suse.de> 2019-07-23 14:16:11 +0200
commit607975b30db41aad6edc846ed567191aa6b7d893 (patch)
tree6fab25bfa34c143d4dfa0bae26235b7cb674aae1 /sound/pci
parentALSA: compress: Be more restrictive about when a drain is allowed (diff)
downloadlinux-607975b30db41aad6edc846ed567191aa6b7d893.tar.gz
linux-607975b30db41aad6edc846ed567191aa6b7d893.tar.bz2
linux-607975b30db41aad6edc846ed567191aa6b7d893.zip
ALSA: ac97: Fix double free of ac97_codec_device
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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions