[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1005061204000.1708-100000@iolanthe.rowland.org>
Date: Thu, 6 May 2010 12:06:33 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: "Du, Alek" <alek.du@...el.com>
cc: Ondrej Zary <linux@...nbow-software.org>,
Linux-pm mailing list <linux-pm@...ts.linux-foundation.org>,
USB list <linux-usb@...r.kernel.org>,
Kernel development list <linux-kernel@...r.kernel.org>
Subject: RE: [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists