summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-08-07 05:46:29 +0300
committerFelipe Balbi <balbi@kernel.org>2020-08-17 15:22:02 +0300
commitd2ee3ff79e6a3d4105e684021017d100524dc560 (patch)
tree3251af367df0f5c66ce6e74a3026408a76e42601 /scripts/gdb/linux
parent5d187c0454ef4c5e046a81af36882d4d515922ec (diff)
downloadlinux-d2ee3ff79e6a3d4105e684021017d100524dc560.tar.xz
usb: dwc3: gadget: Fix handling ZLP
The usb_request->zero doesn't apply for isoc. Also, if we prepare a 0-length (ZLP) TRB for the OUT direction, we need to prepare an extra TRB to pad up to the MPS alignment. Use the same bounce buffer for the ZLP TRB and the extra pad TRB. Cc: <stable@vger.kernel.org> # v4.5+ Fixes: d6e5a549cc4d ("usb: dwc3: simplify ZLP handling") Fixes: 04c03d10e507 ("usb: dwc3: gadget: handle request->zero") Signed-off-by: Thinh Nguyen <thinhn@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions