Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-12 Thread Ulf Hansson
On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > If the target device has any suppliers, as reflected by device links > to them, __pm_runtime_set_status() does not take them into account, > which is not consistent with the other parts of the PM-runtime > frame

Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-12 Thread Ulf Hansson
On Mon, 11 Feb 2019 at 23:41, Rafael J. Wysocki wrote: > > On Mon, Feb 11, 2019 at 2:28 PM Ulf Hansson wrote: > > > > On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > > > > > From: Rafael J. Wysocki > > > > > > If the target device has any suppliers, as reflected by device links > > >

Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-12 Thread Ulf Hansson
On Tue, 12 Feb 2019 at 00:05, Rafael J. Wysocki wrote: > > On Mon, Feb 11, 2019 at 4:51 PM Ulf Hansson wrote: > > > > On Mon, 11 Feb 2019 at 14:27, Ulf Hansson wrote: > > > > > > On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > > > > > > > From: Rafael J. Wysocki > > > > > > > > If th

Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-11 Thread Rafael J. Wysocki
On Mon, Feb 11, 2019 at 4:51 PM Ulf Hansson wrote: > > On Mon, 11 Feb 2019 at 14:27, Ulf Hansson wrote: > > > > On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > > > > > From: Rafael J. Wysocki > > > > > > If the target device has any suppliers, as reflected by device links > > > to the

Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-11 Thread Rafael J. Wysocki
On Mon, Feb 11, 2019 at 2:28 PM Ulf Hansson wrote: > > On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > If the target device has any suppliers, as reflected by device links > > to them, __pm_runtime_set_status() does not take them into account, > > w

Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-11 Thread Ulf Hansson
On Mon, 11 Feb 2019 at 14:27, Ulf Hansson wrote: > > On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > If the target device has any suppliers, as reflected by device links > > to them, __pm_runtime_set_status() does not take them into account, > > whic

Re: [PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-11 Thread Ulf Hansson
On Thu, 7 Feb 2019 at 19:46, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > If the target device has any suppliers, as reflected by device links > to them, __pm_runtime_set_status() does not take them into account, > which is not consistent with the other parts of the PM-runtime > frame

[PATCH 1/2] PM-runtime: Take suppliers into account in __pm_runtime_set_status()

2019-02-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the target device has any suppliers, as reflected by device links to them, __pm_runtime_set_status() does not take them into account, which is not consistent with the other parts of the PM-runtime framework and may lead to programming mistakes. Modify __pm_runtime_set_