projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v3.10.108' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
drivers
/
usb
/
chipidea
/
debug.c
diff --git
a/drivers/usb/chipidea/debug.c
b/drivers/usb/chipidea/debug.c
index 36a7063a6cba04f55e1b25ea062f2896f9524dda..5a38ca87f4060926bfaa0bd313b9e5ecd58fd18d 100644
(file)
--- a/
drivers/usb/chipidea/debug.c
+++ b/
drivers/usb/chipidea/debug.c
@@
-203,7
+203,8
@@
static int ci_role_show(struct seq_file *s, void *data)
{
struct ci13xxx *ci = s->private;
- seq_printf(s, "%s\n", ci_role(ci)->name);
+ if (ci->role != CI_ROLE_END)
+ seq_printf(s, "%s\n", ci_role(ci)->name);
return 0;
}