PCI: tegra: Program PADS_REFCLK_CFG* always, not just on legacy SoCs
authorStephen Warren <swarren@nvidia.com>
Mon, 25 Jul 2016 21:02:21 +0000 (16:02 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 26 Jul 2016 19:57:04 +0000 (14:57 -0500)
commitcf5d31801278be39bd2cc28a8cf582398e58402a
tree7457f514e90545e8aba266f44561202769ef555c
parent08203f1fac4d2c3cfab43fd157c76127f48bc5b3
PCI: tegra: Program PADS_REFCLK_CFG* always, not just on legacy SoCs

tegra_pcie_phy_power_on() calls tegra_pcie_phy_enable() only for legacy
SoCs.  However, part of tegra_pcie_phy_enable() needs to happen in all
cases.  Move that code up one level into tegra_pcie_phy_power_on().

[bhelgaas: changelog]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pci/host/pci-tegra.c