diff options
author | 2024-07-29 16:18:10 -0400 | |
---|---|---|
committer | 2024-09-09 14:08:19 +0000 | |
commit | 5b04d44d5c74e4d8aab1678496b84700b4b343fe (patch) | |
tree | 11213bd251c6a46eae70c965204306985e896a78 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI (diff) | |
download | wireguard-linux-5b04d44d5c74e4d8aab1678496b84700b4b343fe.tar.xz wireguard-linux-5b04d44d5c74e4d8aab1678496b84700b4b343fe.zip |
PCI: imx6: Fix missing call to phy_power_off() in error handling
Fix missing call to phy_power_off() in the error path of
imx6_pcie_host_init(). Remove unnecessary check for imx6_pcie->phy
as the PHY API already handles NULL pointers.
Fixes: cbcf8722b523 ("phy: freescale: imx8m-pcie: Fix the wrong order of phy_init() and phy_power_on()")
Link: https://lore.kernel.org/linux-pci/20240729-pci2_upstream-v8-3-b68ee5ef2b4d@nxp.com
Signed-off-by: Frank Li <Frank.Li@nxp.com>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: <stable@vger.kernel.org> # 6.1+
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions