All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: dwc3: Valid HW capability
@ 2020-07-24 21:00 Thinh Nguyen
  2020-07-24 21:01 ` [PATCH 1/2] usb: dwc3: core: Properly default unspecified speed Thinh Nguyen
  2020-07-24 21:01 ` [PATCH 2/2] usb: dwc3: core: Print warning on unsupported speed Thinh Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: Thinh Nguyen @ 2020-07-24 21:00 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman, Thinh Nguyen, linux-usb,
	Chunfeng Yun
  Cc: John Youn

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
-- 
2.11.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-24 21:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-24 21:00 [PATCH 0/2] usb: dwc3: Valid HW capability Thinh Nguyen
2020-07-24 21:01 ` [PATCH 1/2] usb: dwc3: core: Properly default unspecified speed Thinh Nguyen
2020-07-24 21:01 ` [PATCH 2/2] usb: dwc3: core: Print warning on unsupported speed Thinh Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.