aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorTejas Joglekar <tejas.joglekar@synopsys.com>2019-01-22 13:26:51 +0530
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-01-28 15:27:07 +0200
commit1e19cdc8060227b0802bda6bc0bd22b23679ba32 (patch)
treed8f38b00ff465d8a098f147a7950ddcec1251749 /tools/perf/scripts/python/intel-pt-events.py
parentf17b5f06cb92ef2250513a1e154c47b78df07d40 (diff)
usb: dwc3: gadget: Handle 0 xfer length for OUT EP
For OUT endpoints, zero-length transfers require MaxPacketSize buffer as per the DWC_usb3 programming guide 3.30a section 4.2.3.3. This patch fixes this by explicitly checking zero length transfer to correctly pad up to MaxPacketSize. Fixes: c6267a51639b ("usb: dwc3: gadget: align transfers to wMaxPacketSize") Cc: stable@vger.kernel.org Signed-off-by: Tejas Joglekar <joglekar@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions