[PATCH 4/7] PCI: mediatek-gen3: Disable device if further setup fails
Bartosz Golaszewski
brgl at kernel.org
Wed Feb 25 00:19:39 PST 2026
On Wed, 25 Feb 2026 08:22:21 +0100, Chen-Yu Tsai <wenst at chromium.org> said:
> If further setup fails after the device is powered on and link training
> succeeds, we want to place the device back in a quiescence state to
> avoid unintended activity and save power. This also helps with power
> state tracking and balancing once pwrctrl API is integrated.
>
> Power down the device in the error paths of mtk_pcie_startup_port() and
> mtk_pcie_setup().
>
> 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