Re: [RFC][PATCH 4/4] PM: Permit registrarion of parentless devices during system suspend

Alan Stern
2010-12-15T20:58:42Z

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