Re: [PATCH v3 2/4] PM / core: Propagate wakeup_path status flag in __device_suspend_late()

2018-01-05 Thread Rafael J. Wysocki
On Fri, Jan 5, 2018 at 6:12 PM, Ulf Hansson wrote: > On 5 January 2018 at 13:57, Rafael J. Wysocki wrote: >> On Tue, Jan 2, 2018 at 5:08 PM, Ulf Hansson wrote: >>> Currently the wakeup_path status flag becomes propagated from a child >>> device to its parent device at __device_suspend(). This al

Re: [PATCH v3 2/4] PM / core: Propagate wakeup_path status flag in __device_suspend_late()

2018-01-05 Thread Ulf Hansson
On 5 January 2018 at 13:57, Rafael J. Wysocki wrote: > On Tue, Jan 2, 2018 at 5:08 PM, Ulf Hansson wrote: >> Currently the wakeup_path status flag becomes propagated from a child >> device to its parent device at __device_suspend(). This allows a driver >> dealing with a parent device to act on t

Re: [PATCH v3 2/4] PM / core: Propagate wakeup_path status flag in __device_suspend_late()

2018-01-05 Thread Rafael J. Wysocki
On Tue, Jan 2, 2018 at 5:08 PM, Ulf Hansson wrote: > Currently the wakeup_path status flag becomes propagated from a child > device to its parent device at __device_suspend(). This allows a driver > dealing with a parent device to act on the flag from its ->suspend() > callback. > > However, in si

[PATCH v3 2/4] PM / core: Propagate wakeup_path status flag in __device_suspend_late()

2018-01-02 Thread Ulf Hansson
Currently the wakeup_path status flag becomes propagated from a child device to its parent device at __device_suspend(). This allows a driver dealing with a parent device to act on the flag from its ->suspend() callback. However, in situations when the wakeup_path status flag needs to be set from