summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2013-02-22 12:29:39 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-18 09:17:14 (GMT)
commit5b9ec339e45916ee682b8402597d7f2c6a04da17 (patch)
tree95308b7cf94186b8a67ee9d9c80c4ccb7e89529d /drivers/usb/dwc3
parent6b2a0eb854602b627a21b0256ae556506e91261e (diff)
downloadlinux-5b9ec339e45916ee682b8402597d7f2c6a04da17.tar.xz
usb: dwc3: debugfs: when unknown, print only the state value
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>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index c740c76..5512560 100644
--- 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;