diff options
Diffstat (limited to 'drivers/usb/host/ohci-dbg.c')
-rw-r--r-- | drivers/usb/host/ohci-dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ohci-dbg.c b/drivers/usb/host/ohci-dbg.c index a22c30aa745d..e06bfaebec54 100644 --- a/drivers/usb/host/ohci-dbg.c +++ b/drivers/usb/host/ohci-dbg.c | |||
@@ -655,7 +655,7 @@ static ssize_t fill_registers_buffer(struct debug_buffer *buf) | |||
655 | hcd->product_desc, | 655 | hcd->product_desc, |
656 | hcd_name); | 656 | hcd_name); |
657 | 657 | ||
658 | if (bus->controller->power.power_state.event) { | 658 | if (!test_bit(HCD_FLAG_HW_ACCESSIBLE, &hcd->flags)) { |
659 | size -= scnprintf (next, size, | 659 | size -= scnprintf (next, size, |
660 | "SUSPENDED (no register access)\n"); | 660 | "SUSPENDED (no register access)\n"); |
661 | goto done; | 661 | goto done; |