diff options
| author | Guenter Roeck <[email protected]> | 2021-01-13 12:20:51 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-01-26 18:42:15 +0100 |
| commit | 1a9e38cabd80356ffb98c2c88fec528ea9644fd5 (patch) | |
| tree | 41c5a369ce944e9f5091ecf849080066956c1cd4 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f74b68c61cbc4b2245022fcce038509333d63f6f (diff) | |
usb: dwc2: Make "trimming xfer length" a debug message
With some USB network adapters, such as DM96xx, the following message
is seen for each maximum size receive packet.
dwc2 ff540000.usb: dwc2_update_urb_state(): trimming xfer length
This happens because the packet size requested by the driver is 1522
bytes, wMaxPacketSize is 64, the dwc2 driver configures the chip to
receive 24*64 = 1536 bytes, and the chip does indeed send more than
1522 bytes of data. Since the event does not indicate an error condition,
the message is just noise. Demote it to debug level.
Fixes: 7359d482eb4d3 ("staging: HCD 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/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions