mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 03:50:24 +09:00
Revert "ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all"
This reverts commita6f53df52bwhich is commit03a8b0df75upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: I7ca9e21f3364783bb57fb574f67facb8d0984ec2 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -1728,7 +1728,7 @@ void snd_usb_endpoint_free_all(struct snd_usb_audio *chip)
|
||||
kfree(ip);
|
||||
|
||||
list_for_each_entry_safe(cp, cn, &chip->clock_ref_list, list)
|
||||
kfree(cp);
|
||||
kfree(ip);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user