diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-03-31 14:37:21 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-04-11 10:58:26 +0300 |
commit | 90abb425d9493d00a49b65114dcb0f7266ba64da (patch) | |
tree | 6f8457bc927d1ff6063dc22741b7b79ba91b5e4c /drivers/usb/dwc3 | |
parent | 26c9f3e391d1aa304d89dd0a9ec98a753353e194 (diff) | |
download | linux-90abb425d9493d00a49b65114dcb0f7266ba64da.tar.gz linux-90abb425d9493d00a49b65114dcb0f7266ba64da.tar.bz2 linux-90abb425d9493d00a49b65114dcb0f7266ba64da.zip |
usb: dwc3: debugfs: return strings that match tracepoints
In order to improve usability a tiny bit, we will return strings that
match what our tracepoints return.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/debugfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c index d77eac7b239d..3606c28be580 100644 --- a/drivers/usb/dwc3/debugfs.c +++ b/drivers/usb/dwc3/debugfs.c @@ -650,13 +650,13 @@ static inline const char *dwc3_trb_type_string(struct dwc3_trb *trb) case DWC3_TRBCTL_NORMAL: return "normal"; case DWC3_TRBCTL_CONTROL_SETUP: - return "control-setup"; + return "setup"; case DWC3_TRBCTL_CONTROL_STATUS2: - return "control-status2"; + return "status2"; case DWC3_TRBCTL_CONTROL_STATUS3: - return "control-status3"; + return "status3"; case DWC3_TRBCTL_CONTROL_DATA: - return "control-data"; + return "data"; case DWC3_TRBCTL_ISOCHRONOUS_FIRST: return "isoc-first"; case DWC3_TRBCTL_ISOCHRONOUS: |