projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2a0eb
)
usb: dwc3: debugfs: when unknown, print only the state value
author
Felipe Balbi
<balbi@ti.com>
Fri, 22 Feb 2013 12:29:39 +0000
(14:29 +0200)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 18 Mar 2013 09:17:14 +0000
(11:17 +0200)
whenever we grab an unknown link_state we
were printing the entire register value as
a integer but that's hardly useful; instead,
let's print only the bogus state value.
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 c740c7643f430030db0cd934ce71fa45141c2bf1..5512560e972b931f532e2e2600b8b4f9b8244765 100644
(file)
--- a/
drivers/usb/dwc3/debugfs.c
+++ b/
drivers/usb/dwc3/debugfs.c
@@
-584,7
+584,7
@@
static int dwc3_link_state_show(struct seq_file *s, void *unused)
seq_printf(s, "Resume\n");
break;
default:
- seq_printf(s, "UNKNOWN %d\n",
reg
);
+ seq_printf(s, "UNKNOWN %d\n",
state
);
}
return 0;