提交 2df301cd 编写于 作者: F Felipe Balbi

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: NFelipe Balbi <felipe.balbi@linux.intel.com>
上级 97b3ffa2
...@@ -300,7 +300,7 @@ static int dwc3_mode_show(struct seq_file *s, void *unused) ...@@ -300,7 +300,7 @@ static int dwc3_mode_show(struct seq_file *s, void *unused)
seq_printf(s, "device\n"); seq_printf(s, "device\n");
break; break;
case DWC3_GCTL_PRTCAP_OTG: case DWC3_GCTL_PRTCAP_OTG:
seq_printf(s, "OTG\n"); seq_printf(s, "otg\n");
break; break;
default: default:
seq_printf(s, "UNKNOWN %08x\n", DWC3_GCTL_PRTCAP(reg)); seq_printf(s, "UNKNOWN %08x\n", DWC3_GCTL_PRTCAP(reg));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册