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

From: Alan Stern
Date: Wed Dec 15 2010 - 15:58:46 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/