summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-12-02 10:06:45 -0600
committerVijayavardhan Vennapusa <vvreddy@codeaurora.org>2017-07-20 12:27:19 +0530
commit7f2ea4fd0c887de75eef2f9f1df2e779aaf14b49 (patch)
tree99ce0333c586318ee328c58ccd934507abcaa2d2 /drivers/block
parentbc399a65c4e048d98b6304272e32402bfca59dda (diff)
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> Change-Id: Ib4cb734bdb90ea142ced0d3b5299ee37ffce0352 Git-commit: 04c03d10e507052cfce6910ddf34091196e79e1c Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [vvreddy@codeaurora.org: resolved merge conflicts] Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions