projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b3ffa
)
usb: dwc3: debugfs: downcase OTG on 'mode' file
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Fri, 31 Mar 2017 11:10:40 +0000
(14:10 +0300)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Tue, 11 Apr 2017 07:58:25 +0000
(10:58 +0300)
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>
drivers/usb/dwc3/debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/debugfs.c
b/drivers/usb/dwc3/debugfs.c
index 7df45415ad70d676878b5ea3c4acdfb6444171dd..2cda6e0dd7fa69de9e80b63802f1f0614dba1293 100644
(file)
--- 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));