Re: [PATCH v4] xhci - correct comp_mode_recovery_timer on return from hibernate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux