diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-09-24 01:21:18 -0700 |
|---|---|---|
| committer | Felipe Balbi <balbi@kernel.org> | 2020-10-02 09:57:44 +0300 |
| commit | ca3df3468eec87f6374662f7de425bc44c3810c1 (patch) | |
| tree | 2bc430fb03516e115568d938e7d1bd8ffec9a3c7 /tools/perf/scripts/python | |
| parent | usb: gadget: bcm63xx_udc: fix up the error of undeclared usb_debug_root (diff) | |
| download | linux-ca3df3468eec87f6374662f7de425bc44c3810c1.tar.gz linux-ca3df3468eec87f6374662f7de425bc44c3810c1.zip | |
usb: dwc3: gadget: Check MPS of the request length
When preparing for SG, not all the entries are prepared at once. When
resume, don't use the remaining request length to calculate for MPS
alignment. Use the entire request->length to do that.
Cc: stable@vger.kernel.org
Fixes: 5d187c0454ef ("usb: dwc3: gadget: Don't setup more than requested")
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
