Thinh Nguyen 6a862aa31e 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>
2020-09-03 11:27:09 +02:00
..
2019-05-08 21:35:19 -07:00
2019-09-02 19:20:57 +02:00
2017-11-07 15:45:01 +01:00
2019-10-27 08:58:44 +02:00
2019-05-03 09:13:47 +03:00