Messages in this thread | | | Date | Wed, 15 Dec 2010 15:58:38 -0500 (EST) | From | Alan Stern <> | Subject | Re: [RFC][PATCH 4/4] PM: Permit registrarion of parentless devices during system suspend |
| |
On Wed, 15 Dec 2010, Rafael J. Wysocki wrote:
> > You could clear in_suspend at the start of device_resume. > > The patch below (replacing [3/4]) does that (the second clearing is for > devices whose ->suspend() methods have not been called, which can happen if > there's a suspend error). > > I hope the USB part is still valid?
It is. Although now that I look at it, the third USB test is (and has always been) totally wrong. It should be removed completely. I'll do that separately; for now your update won't affect the way it works.
Alan Stern
| |