Files
kernel_google_redbull/drivers/usb/gadget
Tashfin Shakeer Rhythm b1c5586e9a USB: composite: Re-allocate bytes for IN endpoint
Switching to kzalloc doesn't mean we can't allocate some extra bytes
for the TX buffer. This was simply an improper merge of commit [1]
by CodeLinaro. The commit was just supposed to replace kmalloc with
kzalloc. Therefore, add back the buffer allocation.

[1]: ae9cf8b759 ("UPSTREAM: USB: gadget: zero allocate endpoint 0 buffers")

Fixes: ae9cf8b759 ("UPSTREAM: USB: gadget: zero allocate endpoint 0 buffers")
Change-Id: I97bcea8f9aed2d9a672b2f92b6cfd998f43b9d95
Signed-off-by: Tashfin Shakeer Rhythm <tashfinshakeerrhythm@gmail.com>
2025-09-08 16:57:19 +03:00
..