Files
kernel_xiaomi_sm8250/drivers
Tashfin Shakeer Rhythm 7d6808d57e 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-07-22 15:16:21 +03:00
..
2024-02-23 08:12:44 +01:00