]> git.baikalelectronics.ru Git - 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)
commit48f96eaef2a599b71e03428e5b0797d6c4e966b7
tree105e54dc1f1cbc997c6deff99e1ac302ca1b1344
parent09ba2f651e383f4146c6eeb2aba8ed6dc9fef203
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: 2ded9f553b7b ("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