Re: [RFC][PATCH] PM: Make PM core handle device registrations concurrent with suspend/hibernation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Stern <stern@...>
Cc: pm list <linux-pm@...>, Alexey Starikovskiy <astarikovskiy@...>, Pavel Machek <pavel@...>, LKML <linux-kernel@...>
Date: Thursday, March 6, 2008 - 12:26 pm

On Thursday, 6 of March 2008, Alan Stern wrote:

I'm not sure what you mean.

If dev->parent is NULL, we get into the "successful" branch where the device is
added to dpm_active.  Do you think we should add any extra handling of this
case?


Well, I don't think it's necessary.  dpm_active is empty in that case and
we can use the list_empty(&dpm_active) check instead.

Thanks,
Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH] PM: Make PM core handle device registration..., Rafael J. Wysocki, (Thu Mar 6, 12:26 pm)