Commit 0b22cf23 authored by Nagarjuna Kristam's avatar Nagarjuna Kristam Committed by Greg Kroah-Hartman
Browse files

PCI: tegra194: Fix duplicate PLL disable in pex_ep_event_pex_rst_assert()



[ Upstream commit 4f152338 ]

During PERST# assertion tegra_pcie_bpmp_set_pll_state() is currently
called twice.

pex_ep_event_pex_rst_assert() should do the opposite of
pex_ep_event_pex_rst_deassert(), so it is obvious that the duplicate
tegra_pcie_bpmp_set_pll_state() is a mistake, and that the duplicate
tegra_pcie_bpmp_set_pll_state() call should instead be a call to
tegra_pcie_bpmp_set_ctrl_state().

With this, the uninitialization sequence also matches that of
tegra_pcie_unconfig_controller().

Fixes: a54e1907 ("PCI: tegra194: Add Tegra234 PCIe support")
Signed-off-by: default avatarNagarjuna Kristam <nkristam@nvidia.com>
[cassel: improve commit log]
Signed-off-by: default avatarNiklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20250911093021.1454385-2-cassel@kernel.org


[mani: added Fixes tag]
Signed-off-by: default avatarManivannan Sadhasivam <mani@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8055133a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment