diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2020-07-24 14:01:02 -0700 |
|---|---|---|
| committer | Felipe Balbi <balbi@kernel.org> | 2020-09-24 11:56:16 +0300 |
| commit | b574ce3ee45937f4a01edc98c59213bfc7effe50 (patch) | |
| tree | aa718d6e876b92d4d6c1df92ba61a4f330392024 /tools/perf/scripts/python | |
| parent | usb: dwc2: Fix parameter type in function pointer prototype (diff) | |
| download | linux-b574ce3ee45937f4a01edc98c59213bfc7effe50.tar.gz linux-b574ce3ee45937f4a01edc98c59213bfc7effe50.zip | |
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 <chunfeng.yun@mediatek.com>
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
