mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 18:13:04 +00:00
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>
This commit is contained in:
parent
6b2a0eb854
commit
5b9ec339e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user