lkml.org 
[lkml]   [2010]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [linux-pm] [PATCH v2] [RFC] ehci: Disable wake on overcurrent (WKOC_E) and disconnect (WKDISC_E)
On Thu, 6 May 2010, Du, Alek wrote:

> Hi Alan,
>
> >With this patch, _none_ of the wakeup bits are enabled. That should
> >work, right?
> >
> I guess so, but if no wakeup bits set, how to handle remote wakeup case? Seems you removed remote wakeup case?

The wakeup bits get set later, in ehci_set_wakeup_flags().

The point is that the wakeup bits take effect only when the controller
leaves D0. But ehci_bus_suspend() is called when the root hub is
suspended, which happens first. So at that time the wakeup bits aren't
needed.

Alan Stern



\
 
 \ /
  Last update: 2010-05-06 18:09    [W:0.113 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site