]> 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)
commit333706c06c992a3dcb1e0b5f022c0fb210ec12df
tree105e54dc1f1cbc997c6deff99e1ac302ca1b1344
parentd2045f6462be47832bf47506fcabab49373d7779
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: 4da3ba1f89a7 ("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