Thread (1 message) 1 message, 1 author, 2022-06-28

Re: [PATCH v1] PM-runtime: Check supplier_preactivated before release supplier

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2022-06-28 15:54:59
Also in: linux-mediatek, linux-pm, lkml

On Tue, Jun 28, 2022 at 3:53 AM Peter Wang [off-list ref] wrote:

On 6/28/22 3:00 AM, Rafael J. Wysocki wrote:
quoted
On Mon, Jun 13, 2022 at 2:08 PM [off-list ref] wrote:
quoted
From: Peter Wang <peter.wang@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.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help