PCI: rockchip: Idle inactive PHY(s)
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 19 Jul 2017 09:55:15 +0000 (17:55 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 28 Aug 2017 18:34:37 +0000 (13:34 -0500)
commitf06c6c41e6ccf9c1ec61f640cc9090308b8a63fd
tree2457f0bab259695f91d29fa65cc3511f40af2a84
parent90a7612d070d5caf023b34864028ccce5bffd6ce
PCI: rockchip: Idle inactive PHY(s)

Check the status of all lanes and idle the inactive one(s).

Tested-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
[bhelgaas: always set lanes_map, even for legacy_phy case]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/host/pcie-rockchip.c