]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/isp116x-hcd.c
USB: HCDs use the do_remote_wakeup flag
[linux-2.6-omap-h63xx.git] / drivers / usb / host / isp116x-hcd.c
index 66d773c726f65b4d4402a9b38614a719b4ffb1ee..20b9a0d07420d986f7dfc1e2edb9329a175083cc 100644 (file)
@@ -1400,7 +1400,7 @@ static int isp116x_bus_suspend(struct usb_hcd *hcd)
                spin_unlock_irqrestore(&isp116x->lock, flags);
                val &= (~HCCONTROL_HCFS & ~HCCONTROL_RWE);
                val |= HCCONTROL_USB_SUSPEND;
-               if (device_may_wakeup(&hcd->self.root_hub->dev))
+               if (hcd->self.root_hub->do_remote_wakeup)
                        val |= HCCONTROL_RWE;
                /* Wait for usb transfers to finish */
                msleep(2);