Re: [PATCH v2 4/4] PM / core: Print warn if device gets enabled as wakeup source during sleep

2018-01-02 Thread Ulf Hansson
On 30 December 2017 at 01:58, Rafael J. Wysocki wrote: > On Fri, Dec 29, 2017 at 12:37 PM, Ulf Hansson wrote: >> In general, wakeup settings are not supposed to be changed during any of >> the system wide PM phases. The reason is simply that it would

Re: [PATCH v2 4/4] PM / core: Print warn if device gets enabled as wakeup source during sleep

2017-12-29 Thread Rafael J. Wysocki
On Fri, Dec 29, 2017 at 12:37 PM, Ulf Hansson wrote: > In general, wakeup settings are not supposed to be changed during any of > the system wide PM phases. The reason is simply that it would break > guarantees provided by the PM core, to properly act on active wakeup >

[PATCH v2 4/4] PM / core: Print warn if device gets enabled as wakeup source during sleep

2017-12-29 Thread Ulf Hansson
In general, wakeup settings are not supposed to be changed during any of the system wide PM phases. The reason is simply that it would break guarantees provided by the PM core, to properly act on active wakeup sources. However, there are exceptions to when, in particular, disabling a device as