lkml.org 
[lkml]   [2010]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2010-12-15 22:01    [W:0.141 / U:1.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site