diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-08-06 19:46:35 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-03 11:27:09 +0200 |
| commit | 6a862aa31ec36c21502d3edcbeabc6d0c47681dc (patch) | |
| tree | a0b82c0da0c7bad97556124b088f587f7d8f2e01 /include/linux | |
| parent | 7c8b5685662b5fe7ec57ee875aad62da11226b5d (diff) | |
usb: dwc3: gadget: Handle ZLP for sg requests
[ Upstream commit bc9a2e226ea95e1699f7590845554de095308b75 ]
Currently dwc3 doesn't handle usb_request->zero for SG requests. This
change checks and prepares extra TRBs for the ZLP for SG requests.
Cc: <stable@vger.kernel.org> # v4.5+
Fixes: 04c03d10e507 ("usb: dwc3: gadget: handle request->zero")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
