On Thu, Feb 21, 2013 at 05:04:49PM -0500, Alan Stern wrote:
> On Thu, 21 Feb 2013, Tony Camuso wrote:
> > This patch avoids the problem by deleting the timer in xhci_resume()
> > when resuming from hibernate. Now xhci_resume() can safely make the
> > call to create a new instance of this timer, whether returning from
> > suspend or hibernate.
> 
> Would it be simpler to delete the timer in xhci_bus_suspend() and
> restart it in xhci_bus_resume()?  Then you wouldn't need to care about 
> the difference between suspend and hibernation.
> 
> Or do you need the timer to remain running even while the root hub and 
> USB bus are suspended?

I believe so.  Alex?

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to