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

Skip to content
Commit a318834e authored by Manu Gautam's avatar Manu Gautam Committed by Stephen Boyd
Browse files

usb: gadget: Move req->length check from function drivers to composite



req->legth is set as 0 before calling individual function driver's
setup routines. Hence, check for the buffer length in composite_setup
only.
Also, change max buffer size to 4k to accomodate our descriptors.

Change-Id: Ic96408210e7e5576928a7147d2d8a57fa620d287
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 0b670228
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