diff options
| author | Thinh Nguyen <[email protected]> | 2020-07-24 14:01:02 -0700 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-09-24 11:56:16 +0300 |
| commit | b574ce3ee45937f4a01edc98c59213bfc7effe50 (patch) | |
| tree | aa718d6e876b92d4d6c1df92ba61a4f330392024 /tools/perf/scripts/python | |
| parent | 362b9398c962c9ec563653444e15ef9032ef3a90 (diff) | |
usb: dwc3: core: Properly default unspecified speed
If the maximum_speed is not specified, default the device speed base on
its HW capability. Don't prematurely check HW capability before
validating the maximum_speed device property. The device property takes
precedence in dwc->maximum_speed.
Fixes: 0e1e5c47f7a9 ("usb: dwc3: add support for USB 2.0-only core configuration")
Reported-by: Chunfeng Yun <[email protected]>
Signed-off-by: Thinh Nguyen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions