summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-01-25 17:09:49 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-25 15:06:01 -0800
commitf292e7f9fb0e4bec68bbd83443407d6bb7922d36 (patch)
treee7af79b85994472cc075741131ca653548391f71 /drivers/usb/host/ehci-hcd.c
parentda0aa7169b97d90f4af39a9dc84d58bbe19d7e78 (diff)
downloadop-kernel-dev-f292e7f9fb0e4bec68bbd83443407d6bb7922d36.zip
op-kernel-dev-f292e7f9fb0e4bec68bbd83443407d6bb7922d36.tar.gz
USB: EHCI: notify usbcore about port resumes
This patch (as1650) adds calls to the new usb_hcd_{start,end}_port_resume() functions to ehci-hcd. Now EHCI root hubs won't be runtime suspended while they are sending a resume signal to one of their ports. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r--drivers/usb/host/ehci-hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
index 09537b2..b416a3f 100644
--- a/drivers/usb/host/ehci-hcd.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -797,6 +797,7 @@ static irqreturn_t ehci_irq (struct usb_hcd *hcd)
ehci->reset_done[i] = jiffies + msecs_to_jiffies(25);
set_bit(i, &ehci->resuming_ports);
ehci_dbg (ehci, "port %d remote wakeup\n", i + 1);
+ usb_hcd_start_port_resume(&hcd->self, i);
mod_timer(&hcd->rh_timer, ehci->reset_done[i]);
}
}
OpenPOWER on IntegriCloud