Re: [PATCH v2] PM / Sleep: fix recovery during s2ram/hibernation

2014-10-24 Thread Rafael J. Wysocki
On Friday, October 24, 2014 05:17:12 PM Imre Deak wrote: > On Fri, 2014-10-24 at 16:04 +0200, Rafael J. Wysocki wrote: > > On Friday, October 24, 2014 10:59:09 AM Imre Deak wrote: > > > Atm, if one of the dev_pm_ops::freeze callbacks fails during the QUIESCE > > > phase we don't rollback things cor

Re: [PATCH v2] PM / Sleep: fix recovery during s2ram/hibernation

2014-10-24 Thread Imre Deak
On Fri, 2014-10-24 at 16:04 +0200, Rafael J. Wysocki wrote: > On Friday, October 24, 2014 10:59:09 AM Imre Deak wrote: > > Atm, if one of the dev_pm_ops::freeze callbacks fails during the QUIESCE > > phase we don't rollback things correctly calling the thaw and complete > > callbacks. This could le

Re: [PATCH v2] PM / Sleep: fix recovery during s2ram/hibernation

2014-10-24 Thread Rafael J. Wysocki
On Friday, October 24, 2014 10:59:09 AM Imre Deak wrote: > Atm, if one of the dev_pm_ops::freeze callbacks fails during the QUIESCE > phase we don't rollback things correctly calling the thaw and complete > callbacks. This could leave some devices in a suspended state in case of > an error during r

[PATCH v2] PM / Sleep: fix recovery during s2ram/hibernation

2014-10-24 Thread Imre Deak
Atm, if one of the dev_pm_ops::freeze callbacks fails during the QUIESCE phase we don't rollback things correctly calling the thaw and complete callbacks. This could leave some devices in a suspended state in case of an error during resuming from hibernation. Also if an asynchronous suspend_late o