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:24:31 +0200 |
commit | 9c7514464430cb4d57182542fc15c09d07eb808d (patch) | |
tree | 305a9c97cf742810d213ae40b644b01609f068f5 /drivers/char | |
parent | 7012bf6d6c3a56f2866c4c08539932be98b5585d (diff) | |
download | linux-stable-9c7514464430cb4d57182542fc15c09d07eb808d.tar.gz linux-stable-9c7514464430cb4d57182542fc15c09d07eb808d.tar.bz2 linux-stable-9c7514464430cb4d57182542fc15c09d07eb808d.zip |
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 'drivers/char')
0 files changed, 0 insertions, 0 deletions