aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2020-09-24 01:21:24 -0700
committerFelipe Balbi <balbi@kernel.org>2020-10-02 09:57:44 +0300
commit690e5c2dc29f8891fcfd30da67e0d5837c2c9df5 (patch)
treeb16618c7d6ad51e9b3227e2502df854e58d662d8 /tools/perf/scripts/python/bin
parentusb: dwc3: gadget: Check MPS of the request length (diff)
downloadlinux-690e5c2dc29f8891fcfd30da67e0d5837c2c9df5.tar.gz
linux-690e5c2dc29f8891fcfd30da67e0d5837c2c9df5.zip
usb: dwc3: gadget: Reclaim extra TRBs after request completion
An SG request may be partially completed (due to no available TRBs). Don't reclaim extra TRBs and clear the needs_extra_trb flag until the request is fully completed. Otherwise, the driver will reclaim the wrong TRB. Cc: stable@vger.kernel.org Fixes: 1f512119a08c ("usb: dwc3: gadget: add remaining sg entries to ring") Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions