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

Skip to content
Commit 8673b853 authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: gadget: diag: Use controller's driver ZLP support on IN endpoint



Currently usb diag function driver is explicitly queueing ZLP request
when size of buffer (i.e. req->legth) is equal to endpoint's maxpacket
size (i.e. ep->maxpacket). USB controller driver does support ZLP
functionality if req->zero is set to true. Hence use this functionality
and remove explicitly queueing ZLP request from USB diag driver.

Change-Id: I224474c6e07b9153da56fafc04d5d04abb8e246b
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 13ce0881
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