aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller
diff options
context:
space:
mode:
authorGravatar Bjorn Helgaas <bhelgaas@google.com> 2022-08-04 11:41:55 -0500
committerGravatar Bjorn Helgaas <bhelgaas@google.com> 2022-08-04 11:41:55 -0500
commitfea77e9f29782f73b72ac1bd6e669ccd82841204 (patch)
tree0b5d6f3862d9ba0bc6d28424b17255ac68152920 /drivers/pci/controller
parentMerge branch 'pci/ctrl/dwc-edma' (diff)
parentPCI: exynos: Correct generic PHY usage (diff)
downloadlinux-fea77e9f29782f73b72ac1bd6e669ccd82841204.tar.gz
linux-fea77e9f29782f73b72ac1bd6e669ccd82841204.tar.bz2
linux-fea77e9f29782f73b72ac1bd6e669ccd82841204.zip
Merge branch 'pci/ctrl/exynos'
- Move samsung phy-exynos-pcie init all to exynos5433_pcie_phy_init() instead of splitting across phy_init() and phy_power_on() (Marek Szyprowski) - Call phy_init() before phy_power_on() for samsung phy-exynos-pcie, as required by the PHY programming model (Marek Szyprowski) * pci/ctrl/exynos: PCI: exynos: Correct generic PHY usage phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r--drivers/pci/controller/dwc/pci-exynos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/controller/dwc/pci-exynos.c b/drivers/pci/controller/dwc/pci-exynos.c
index 2ede426e3295..3786946cb09e 100644
--- a/drivers/pci/controller/dwc/pci-exynos.c
+++ b/drivers/pci/controller/dwc/pci-exynos.c
@@ -258,9 +258,8 @@ static int exynos_pcie_host_init(struct dw_pcie_rp *pp)
exynos_pcie_assert_core_reset(ep);
- phy_reset(ep->phy);
- phy_power_on(ep->phy);
phy_init(ep->phy);
+ phy_power_on(ep->phy);
exynos_pcie_deassert_core_reset(ep);
exynos_pcie_enable_irq_pulse(ep);