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

From: Peter Wang
Date: Mon Aug 01 2022 - 23:19:25 EST



Hi Rafael,

Yes, it is very clear!
I miss this important key point that usage_count is always > rpm_active 1.
I think this patch could work.

Thanks.
Peter




Hi Rafael,

After test with commit ("887371066039011144b4a94af97d9328df6869a2 PM: runtime: Fix supplier device management during consumer probe") past weeks,
The supplier still suspend when consumer is active "after" pm_runtime_put_suppliers.
Do you have any idea about that?

Thanks.
Peter