diff options
author | Felipe Balbi <balbi@ti.com> | 2013-02-22 14:29:39 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 11:17:14 +0200 |
commit | 5b9ec339e45916ee682b8402597d7f2c6a04da17 (patch) | |
tree | 95308b7cf94186b8a67ee9d9c80c4ccb7e89529d /drivers/usb/dwc3 | |
parent | 6b2a0eb854602b627a21b0256ae556506e91261e (diff) | |
download | linux-5b9ec339e45916ee682b8402597d7f2c6a04da17.tar.bz2 |
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) seq_printf(s, "Resume\n"); break; default: - seq_printf(s, "UNKNOWN %d\n", reg); + seq_printf(s, "UNKNOWN %d\n", state); } return 0; |