diff options
| author | Thinh Nguyen <[email protected]> | 2022-04-12 01:33:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-21 17:07:58 +0000 |
| commit | f28ad9069363dec7deb88032b70612755eed9ee6 (patch) | |
| tree | 2fb9970030d8ab827e58134102e87bbfff6449af /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | usb: mtu3: fix USB 3.0 dual-role-switch from device to host (diff) | |
| download | kernel-f28ad9069363dec7deb88032b70612755eed9ee6.tar.gz kernel-f28ad9069363dec7deb88032b70612755eed9ee6.zip | |
usb: dwc3: core: Fix tx/rx threshold settings
The current driver logic checks against 0 to determine whether the
periodic tx/rx threshold settings are set, but we may get bogus values
from uninitialized variables if no device property is set. Properly
default these variables to 0.
Fixes: 938a5ad1d305 ("usb: dwc3: Check for ESS TX/RX threshold config")
Cc: <[email protected]>
Signed-off-by: Thinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/cccfce990b11b730b0dae42f9d217dc6fb988c90.1649727139.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
