All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.
@ 2012-07-11  0:28 Tomoya MORINAGA
  2012-07-11 14:24 ` Alan Stern
  2012-07-12  2:53 ` [PATCH v2] " Tomoya MORINAGA
  0 siblings, 2 replies; 6+ messages in thread
From: Tomoya MORINAGA @ 2012-07-11  0:28 UTC (permalink / raw)
  To: Alan Stern, Greg Kroah-Hartman, linux-usb, linux-kernel; +Cc: Tomoya MORINAGA


Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
---
 drivers/usb/host/ehci-hub.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
index fc9e7cc..d596d0f 100644
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
@@ -207,6 +207,7 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
 	int			port;
 	int			mask;
 	int			changed;
+	int			temp;
 
 	ehci_dbg(ehci, "suspend root hub\n");
 
@@ -324,6 +325,9 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
 	 * want, and so we must delete any pending watchdog timer events.
 	 */
 	del_timer_sync(&ehci->watchdog);
+	temp = ehci_readl(ehci, &ehci->regs->status);
+	if (temp & STS_FLR)
+		ehci_writel(ehci, STS_FLR, &ehci->regs->status);
 	return 0;
 }
 
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-07-13 14:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-11  0:28 [PATCH] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached Tomoya MORINAGA
2012-07-11 14:24 ` Alan Stern
2012-07-12  2:53 ` [PATCH v2] " Tomoya MORINAGA
2012-07-12 14:44   ` Alan Stern
2012-07-13  2:43   ` [PATCH v3] " Tomoya MORINAGA
2012-07-13 14:11     ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.