Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tino Keitel <tino.keitel@...>
Cc: Pavel Machek <pavel@...>, <linux-usb@...>, Soeren Sonnenburg <sonne@...>, Rafael J. Wysocki <rjw@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, Len Brown <lenb@...>
Date: Wednesday, April 2, 2008 - 3:26 pm

On Tue, 1 Apr 2008, Tino Keitel wrote:


Tino, try this patch.  It fixed Mark Lord's problem, which looked the 
same as yours.

Alan Stern



--- rc8/drivers/usb/host/ehci-hub.c	2008-03-11 11:18:40.000000000 -0400
+++ linux/drivers/usb/host/ehci-hub.c	2008-04-02 13:28:50.000000000 -0400
@@ -135,8 +135,6 @@
 		hcd->state = HC_STATE_QUIESCING;
 	}
 	ehci->command = ehci_readl(ehci, &ehci->regs->command);
-	if (ehci->reclaim)
-		end_unlink_async(ehci);
 	ehci_work(ehci);
 
 	/* Unlike other USB host controller types, EHCI doesn't have
@@ -180,6 +178,9 @@
 	ehci_halt (ehci);
 	hcd->state = HC_STATE_SUSPENDED;
 
+	if (ehci->reclaim)
+		end_unlink_async(ehci);
+
 	/* allow remote wakeup */
 	mask = INTR_MASK;
 	if (!device_may_wakeup(&hcd->self.root_hub->dev))



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac m..., Rafael J. Wysocki, (Thu Mar 20, 6:10 am)
Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac m..., Rafael J. Wysocki, (Fri Mar 28, 7:03 pm)
Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac m..., Rafael J. Wysocki, (Mon Mar 31, 6:17 pm)
Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac m..., Alan Stern, (Wed Apr 2, 3:26 pm)