diff options
Diffstat (limited to 'drivers/usb/host/uhci-hcd.c')
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 1c0394cb3c89..071fab6b6475 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -748,8 +748,12 @@ static int uhci_resume(struct usb_hcd *hcd) | |||
748 | check_and_reset_hc(uhci); | 748 | check_and_reset_hc(uhci); |
749 | configure_hc(uhci); | 749 | configure_hc(uhci); |
750 | 750 | ||
751 | if (uhci->rh_state == UHCI_RH_RESET) | 751 | if (uhci->rh_state == UHCI_RH_RESET) { |
752 | |||
753 | /* The controller had to be reset */ | ||
754 | usb_root_hub_lost_power(hcd->self.root_hub); | ||
752 | suspend_rh(uhci, UHCI_RH_SUSPENDED); | 755 | suspend_rh(uhci, UHCI_RH_SUSPENDED); |
756 | } | ||
753 | 757 | ||
754 | spin_unlock_irq(&uhci->lock); | 758 | spin_unlock_irq(&uhci->lock); |
755 | 759 | ||