[PATCH v3 03/13] power: sequencing: Add pwrseq_power_is_on()

Bartosz Golaszewski brgl at kernel.org
Fri Jul 3 05:07:53 PDT 2026


On Fri, 3 Jul 2026 13:03:04 +0200, Chen-Yu Tsai <wenst at chromium.org> 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



More information about the linux-arm-kernel mailing list