Commit 8d887a1d authored by Manu Gautam's avatar Manu Gautam
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 550aa1ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment