Re: [PATCH 2/7] PCI: mediatek-gen3: Add error path for probe and resume driver callbacks
From: AngeloGioacchino Del Regno
Date: Wed Feb 25 2026 - 08:13:42 EST
Il 25/02/26 08:22, Chen-Yu Tsai ha scritto:
The probe and resume callbacks currently do teardown in the conditional
block directly. This is going to get ugly when the pwrctrl calls are
added.
Move the teardown to proper error cleanup paths.
Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
Though I don't exactly like it that much, you have a "more than just good" reason,
and that's enough for me to say
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>