summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2026-03-24 13:19:58 +0800
committerBjorn Helgaas <bhelgaas@google.com>2026-03-25 13:47:47 -0500
commit55482b95792bdaceb513da8a66a911da85d812cb (patch)
treef01d8b36331f64bd11f354e21115d1ae01115c59 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent69b8d3ccf73222518ce13fe4965c93c9d13ba5d7 (diff)
PCI: mediatek-gen3: Disable device if further setup fails
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_probe(). Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20260324052002.4072430-7-wenst@chromium.org
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions