Revert "ALSA: usb-audio: Fix wrong kfree issue in snd_usb_endpoint_free_all"

This reverts commit a6f53df52b which is
commit 03a8b0df75 upstream.

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:
Greg Kroah-Hartman
2024-05-16 10:15:32 +00:00
parent 7dcba26902
commit 9c86f89c6c

View File

@@ -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);
}
/*