Re: [PATCH v3 03/13] power: sequencing: Add pwrseq_power_is_on()
From: Bartosz Golaszewski
Date: Fri Jul 03 2026 - 08:11:27 EST
On Fri, 3 Jul 2026 13:03:04 +0200, Chen-Yu Tsai <wenst@xxxxxxxxxxxx> said:
> The power sequencing consumer API already does power on state tracking
> internally. Expose the state to consumers through pwrseq_power_is_on()
> so that they don't have to reimplement it locally.
>
They wouldn't be able to do it as the field is private to pwrseq core anyway.
In what situation would consumers need this? Typically you know what state the
handle is in if you control it.
Bart