diff options
| author | Frank Li <[email protected]> | 2024-07-29 20:18:10 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-09-09 14:08:19 +0000 |
| commit | 5b04d44d5c74e4d8aab1678496b84700b4b343fe (patch) | |
| tree | 11213bd251c6a46eae70c965204306985e896a78 /drivers/pci/controller/pci-host-common.c | |
| parent | PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI (diff) | |
| download | kernel-5b04d44d5c74e4d8aab1678496b84700b4b343fe.tar.gz kernel-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/[email protected]
Signed-off-by: Frank Li <[email protected]>
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Cc: <[email protected]> # 6.1+
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
