diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-03-31 14:10:40 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-04-11 10:58:25 +0300 |
commit | 2df301cd3d717af48692542fa634727a213c7732 (patch) | |
tree | dfc878bd1ec844d905eb77b8970074c8743b9c75 /drivers/usb/dwc3/debugfs.c | |
parent | 97b3ffa233b94741ae77d6ece2476331935bf15b (diff) | |
download | talos-obmc-linux-2df301cd3d717af48692542fa634727a213c7732.tar.gz talos-obmc-linux-2df301cd3d717af48692542fa634727a213c7732.zip |
usb: dwc3: debugfs: downcase OTG on 'mode' file
When writing, we expect the "otg" string. When showing, we return
"OTG". Let's downcase that word to avoid confusion.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/debugfs.c')
-rw-r--r-- | drivers/usb/dwc3/debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c index 7df45415ad70..2cda6e0dd7fa 100644 --- a/drivers/usb/dwc3/debugfs.c +++ b/drivers/usb/dwc3/debugfs.c @@ -300,7 +300,7 @@ static int dwc3_mode_show(struct seq_file *s, void *unused) seq_printf(s, "device\n"); break; case DWC3_GCTL_PRTCAP_OTG: - seq_printf(s, "OTG\n"); + seq_printf(s, "otg\n"); break; default: seq_printf(s, "UNKNOWN %08x\n", DWC3_GCTL_PRTCAP(reg)); |