提交 6b2a0eb8 编写于 作者: F Felipe Balbi

usb: dwc3: debugfs: add two missing Link States

for Reset and Resume we were going to print
"UNKNOWN" when we actually knew what those
were.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 fdba5aa5
......@@ -577,6 +577,12 @@ static int dwc3_link_state_show(struct seq_file *s, void *unused)
case DWC3_LINK_STATE_LPBK:
seq_printf(s, "Loopback\n");
break;
case DWC3_LINK_STATE_RESET:
seq_printf(s, "Reset\n");
break;
case DWC3_LINK_STATE_RESUME:
seq_printf(s, "Resume\n");
break;
default:
seq_printf(s, "UNKNOWN %d\n", reg);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册