Re: [PATCH] PM: Prevent dpm_prepare() from returning errors unnecessarily

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafael J. Wysocki
Date: Monday, November 29, 2010 - 3:04 pm

On Monday, November 29, 2010, Alan Stern wrote:

I think so.

We also need to put a pm_check_wakeup_events() check into dpm_suspend() IMO,
so that we abort the suspending of devices as soon as a wakeup event is
reported.


Ideally, yes, but I'm not sure if that's generally possible.  IMO, it won't be
a big deal if a parent device is suspended and immediately resumed occasionally
due to a pending wakeup signal from one of its children.  It may be a problem
if that happens too often, though.


OK

Does it mean you're fine with the patch?

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

Messages in current thread:
Re: [PATCH] PM: Prevent dpm_prepare() from returning error ..., Rafael J. Wysocki, (Mon Nov 29, 3:04 pm)