summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-12-02 10:06:45 -0600
committerFelipe Balbi <balbi@ti.com>2015-12-15 09:12:41 -0600
commit04c03d10e507052cfce6910ddf34091196e79e1c (patch)
tree352b876502b2b7c05e5a954ec0c21aa006897210 /include/linux
parent3ff4b5733ba70f77b84272b01bfe5937218b1301 (diff)
downloadcachepc-linux-04c03d10e507052cfce6910ddf34091196e79e1c.tar.gz
cachepc-linux-04c03d10e507052cfce6910ddf34091196e79e1c.zip
usb: dwc3: gadget: handle request->zero
So far, dwc3 has always missed request->zero handling for every endpoint. Let's implement that so we can handle cases where transfer must be finished with a ZLP. Note that dwc3 is a little special. Even though we're dealing with a ZLP, we still need a buffer of wMaxPacketSize bytes; to hide that detail from every gadget driver, we have a preallocated buffer of 1024 bytes (biggest bulk size) to use (and share) among all endpoints. Reported-by: Ravi B <ravibabu@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions