aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-hcd.c2
-rw-r--r--drivers/usb/host/isp116x-hcd.c2
-rw-r--r--drivers/usb/host/ohci-pci.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index b3eb02613bff..513fccbb8e43 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -759,7 +759,7 @@ static int ehci_suspend (struct usb_hcd *hcd, pm_message_t message)
759 msleep (100); 759 msleep (100);
760 760
761#ifdef CONFIG_USB_SUSPEND 761#ifdef CONFIG_USB_SUSPEND
762 (void) usb_suspend_device (hcd->self.root_hub, message); 762 (void) usb_suspend_device (hcd->self.root_hub);
763#else 763#else
764 usb_lock_device (hcd->self.root_hub); 764 usb_lock_device (hcd->self.root_hub);
765 (void) ehci_hub_suspend (hcd); 765 (void) ehci_hub_suspend (hcd);
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index 642f35068ce2..554d60282a9d 100644
--- a/drivers/usb/host/isp116x-hcd.c
+++ b/drivers/usb/host/isp116x-hcd.c
@@ -1781,7 +1781,7 @@ static int isp116x_suspend(struct device *dev, pm_message_t state)
1781 1781
1782 VDBG("%s: state %x\n", __func__, state); 1782 VDBG("%s: state %x\n", __func__, state);
1783 1783
1784 ret = usb_suspend_device(hcd->self.root_hub, state); 1784 ret = usb_suspend_device(hcd->self.root_hub);
1785 if (!ret) { 1785 if (!ret) {
1786 dev->power.power_state = state; 1786 dev->power.power_state = state;
1787 INFO("%s suspended\n", hcd_name); 1787 INFO("%s suspended\n", hcd_name);
diff --git a/drivers/usb/host/ohci-pci.c b/drivers/usb/host/ohci-pci.c
index eede6be098d2..41e85980fa7a 100644
--- a/drivers/usb/host/ohci-pci.c
+++ b/drivers/usb/host/ohci-pci.c
@@ -119,7 +119,7 @@ static int ohci_pci_suspend (struct usb_hcd *hcd, pm_message_t message)
119 msleep (100); 119 msleep (100);
120 120
121#ifdef CONFIG_USB_SUSPEND 121#ifdef CONFIG_USB_SUSPEND
122 (void) usb_suspend_device (hcd->self.root_hub, message); 122 (void) usb_suspend_device (hcd->self.root_hub);
123#else 123#else
124 usb_lock_device (hcd->self.root_hub); 124 usb_lock_device (hcd->self.root_hub);
125 (void) ohci_hub_suspend (hcd); 125 (void) ohci_hub_suspend (hcd);