usb: dwc3: debugfs: Properly print/set link state for HS
authorThinh Nguyen <thinh.nguyen@synopsys.com>
Thu, 8 Nov 2018 01:55:19 +0000 (17:55 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:06:31 +0000 (09:06 +0200)
commit0d36dede457873404becd7c9cb9d0f2bcfd0dcd9
tree11927fd5bebc63fca6c755492c1915830cd30f0e
parent62ba09d6bb6330d8a70e40e23891d8764663d469
usb: dwc3: debugfs: Properly print/set link state for HS

Highspeed device and below has different state names than superspeed and
higher. Add proper checks and printouts of link states for highspeed and
below.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/debug.h
drivers/usb/dwc3/debugfs.c