diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-22 07:29:39 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:17:14 -0400 |
commit | 5b9ec339e45916ee682b8402597d7f2c6a04da17 (patch) | |
tree | 95308b7cf94186b8a67ee9d9c80c4ccb7e89529d /drivers/usb/dwc3 | |
parent | 6b2a0eb854602b627a21b0256ae556506e91261e (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c index c740c7643f43..5512560e972b 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) | |||
584 | seq_printf(s, "Resume\n"); | 584 | seq_printf(s, "Resume\n"); |
585 | break; | 585 | break; |
586 | default: | 586 | default: |
587 | seq_printf(s, "UNKNOWN %d\n", reg); | 587 | seq_printf(s, "UNKNOWN %d\n", state); |
588 | } | 588 | } |
589 | 589 | ||
590 | return 0; | 590 | return 0; |