mbox series

[0/2] usb: dwc3: Valid HW capability

Message ID cover.1595624103.git.thinhn@synopsys.com (mailing list archive)
Headers show
Series usb: dwc3: Valid HW capability | expand

Message

Thinh Nguyen July 24, 2020, 9 p.m. UTC
The field dwc->maximum_speed captures the device "maximum-speed" property. If
the property is not set, then default the field to the maximum speed the HW
supports.

This series makes sure that the user input takes precedence and only prints
warning if the user specifies a maximum-speed higher than what the HW shows.


Thinh Nguyen (2):
  usb: dwc3: core: Properly default unspecified speed
  usb: dwc3: core: Print warning on unsupported speed

 drivers/usb/dwc3/core.c | 44 +++++++++++++++++++++++++++-----------------
 1 file changed, 27 insertions(+), 17 deletions(-)


base-commit: a95fcda246dc3e9f5d00222c9a8f0a76aa0bb950