Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 933b8831 authored by Mayank Rana's avatar Mayank Rana Committed by ChandanaKishori Chiluveru
Browse files

usb: gadget: android: Use 1024 bytes as MIDI buffer size



Some UDC driver doesn't allow or throw errors when USB request buffer
queued is unaligned i.e. buffer size is not equal to wMaxPacketSize or
multiple of wMaxPacketSize. Fix this issue by using 1024 bytes as MIDI
buffer size instead of 256 bytes.

Change-Id: Ib3493f219de242be56be41d129d128facfe4a8a5
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 3b92868f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment