[PATCH 3/7] PCI: mediatek-gen3: Split out device power helpers
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Wed Feb 25 05:13:03 PST 2026
Il 25/02/26 08:22, Chen-Yu Tsai ha scritto:
> Split out existing code that deals with device power sequencing into
> into helpers to allow cleaning up the error paths and integrating the
> new PCI pwrctrl API,
>
> This change is purely code movement.
>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
I was really about to (and really wrote 80% of it) write a comment saying
that this is not really doing power up, but then I looked at the other
patches before continuing.
Eh, I agree about doing what you're doing in this number of steps, but please
write that spoiler in the commit description here :-)
Something along the lines of...
In preparation for adding full power on/off control with the pwrctrl API, split
out the existing code that only partially deals with device power sequencing into
separate helper functions.
This is purely moving code around, and brings no functional changes.
After which:
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the linux-arm-kernel
mailing list