projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdba5aa
)
usb: dwc3: debugfs: add two missing Link States
author
Felipe Balbi
<balbi@ti.com>
Fri, 22 Feb 2013 12:28:54 +0000
(14:28 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:13 +0000
(11:17 +0200)
for Reset and Resume we were going to print
"UNKNOWN" when we actually knew what those
were.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/debugfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc3/debugfs.c
b/drivers/usb/dwc3/debugfs.c
index 4a752e730c5f7d65424558a8f1529134f80c9d45..c740c7643f430030db0cd934ce71fa45141c2bf1 100644
(file)
--- a/
drivers/usb/dwc3/debugfs.c
+++ b/
drivers/usb/dwc3/debugfs.c
@@
-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);
}