[PATCH 2/7] PCI: mediatek-gen3: Add error path for probe and resume driver callbacks

Bartosz Golaszewski brgl at kernel.org
Wed Feb 25 00:19:10 PST 2026


On Wed, 25 Feb 2026 08:22:19 +0100, Chen-Yu Tsai <wenst at chromium.org> said:
> 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 at chromium.org>
> ---

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>



More information about the linux-arm-kernel mailing list