Re: [PATCH] PM / s2idle: Clear the events_check_enabled flag

2018-05-10 Thread Rajat Jain
Sorry, please ignore, sent by mistake. On Thu, May 10, 2018 at 4:34 PM, Rajat Jain wrote: > Problem: This flag does not get cleared currently in the suspend or > resume path in the following cases: > > * In case some driver's suspend routine returns an error. > * Successful

Re: [PATCH] PM / s2idle: Clear the events_check_enabled flag

2018-05-10 Thread Rajat Jain
Sorry, please ignore, sent by mistake. On Thu, May 10, 2018 at 4:34 PM, Rajat Jain wrote: > Problem: This flag does not get cleared currently in the suspend or > resume path in the following cases: > > * In case some driver's suspend routine returns an error. > * Successful s2idle case > * etc?

[PATCH] PM / s2idle: Clear the events_check_enabled flag

2018-05-10 Thread Rajat Jain
Problem: This flag does not get cleared currently in the suspend or resume path in the following cases: * In case some driver's suspend routine returns an error. * Successful s2idle case * etc? Why is this a problem: What happens is that the next suspend attempt could fail even though the user

[PATCH] PM / s2idle: Clear the events_check_enabled flag

2018-05-10 Thread Rajat Jain
Problem: This flag does not get cleared currently in the suspend or resume path in the following cases: * In case some driver's suspend routine returns an error. * Successful s2idle case * etc? Why is this a problem: What happens is that the next suspend attempt could fail even though the user

Re: [PATCH] PM / s2idle: Clear the events_check_enabled flag

2017-11-06 Thread Pavel Machek
On Tue 2017-10-31 14:44:24, Rajat Jain wrote: > Problem: This flag does not get cleared currently in the suspend or > resume path in the following cases: > > * In case some driver's suspend routine returns an error. > * Successful s2idle case > * etc? > > Why is this a problem: What happens is

Re: [PATCH] PM / s2idle: Clear the events_check_enabled flag

2017-11-06 Thread Pavel Machek
On Tue 2017-10-31 14:44:24, Rajat Jain wrote: > Problem: This flag does not get cleared currently in the suspend or > resume path in the following cases: > > * In case some driver's suspend routine returns an error. > * Successful s2idle case > * etc? > > Why is this a problem: What happens is

[PATCH] PM / s2idle: Clear the events_check_enabled flag

2017-10-31 Thread Rajat Jain
Problem: This flag does not get cleared currently in the suspend or resume path in the following cases: * In case some driver's suspend routine returns an error. * Successful s2idle case * etc? Why is this a problem: What happens is that the next suspend attempt could fail even though the user

[PATCH] PM / s2idle: Clear the events_check_enabled flag

2017-10-31 Thread Rajat Jain
Problem: This flag does not get cleared currently in the suspend or resume path in the following cases: * In case some driver's suspend routine returns an error. * Successful s2idle case * etc? Why is this a problem: What happens is that the next suspend attempt could fail even though the user