aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2021-01-13 12:20:49 +0100
committerGreg Kroah-Hartman <[email protected]>2021-01-26 18:42:15 +0100
commit415fa1c7305dedbb345e2cc8ac91769bc1c83f1a (patch)
tree241528fb7ab1d329c61bb4cefa9a929f79dcb119 /tools/perf/scripts/python/export-to-sqlite.py
parent7961b77c0d489764166d789adb2c1d21b71b5aad (diff)
usb: dwc2: Do not update data length if it is 0 on inbound transfers
The DWC2 documentation states that transfers with zero data length should set the number of packets to 1 and the transfer length to 0. This is not currently the case for inbound transfers: the transfer length is set to the maximum packet length. This can have adverse effects if the chip actually does transfer data as it is programmed to do. Follow chip documentation and keep the transfer length set to 0 in that situation. Fixes: 56f5b1cff22a1 ("staging: Core files for the DWC2 driver") Tested-by: Nicolas Saenz Julienne <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Nicolas Saenz Julienne <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions