Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2df301cd authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 97b3ffa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));