]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
PCI: tegra: Fix argument order in tegra_pcie_phy_disable()
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Oct 2016 21:04:13 +0000 (16:04 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:45:24 +0000 (23:45 -0500)
commit8dd99bca7bfa4b62753b556c45d26f45ec9da6e6
tree105e54dc1f1cbc997c6deff99e1ac302ca1b1344
parentbdf530984d10b6b88b10a6d03057409a3f1c6897
PCI: tegra: Fix argument order in tegra_pcie_phy_disable()

The tegra_pcie_phy_disable() path called pads_writel() with arguments in
the wrong order.  Swap them to be the "value, offset" order expected by
pads_writel().

Fixes: 6fe7c187e026 ("PCI: tegra: Support per-lane PHYs")
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Thierry Reding <treding@nvidia.com>
CC: stable@vger.kernel.org # v4.7+
drivers/pci/host/pci-tegra.c