[PATCH v1] PM-runtime: Check supplier_preactivated before release supplier
Rafael J. Wysocki
rafael at kernel.org
Tue Jun 28 08:54:41 PDT 2022
On Tue, Jun 28, 2022 at 3:53 AM Peter Wang <peter.wang at mediatek.com> wrote:
>
>
> On 6/28/22 3:00 AM, Rafael J. Wysocki wrote:
> > On Mon, Jun 13, 2022 at 2:08 PM <peter.wang at mediatek.com> wrote:
> >> From: Peter Wang <peter.wang at mediatek.com>
> >>
> >> With divice link of DL_FLAG_PM_RUNTIME, if consumer call pm_runtime_get_suppliers
> >> to prevent supplier enter suspend, pm_runtime_release_supplier should
> >> check supplier_preactivated before let supplier enter suspend.
> > Why?
>
> because supplier_preactivated is true means supplier cannot enter
> suspend, right?
No, it doesn't mean that.
More information about the linux-arm-kernel
mailing list