PCI: rockchip: Move the deassert of pm/aclk/pclk after phy_init()
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 24 Nov 2016 01:54:21 +0000 (09:54 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Dec 2016 21:08:25 +0000 (15:08 -0600)
commit0722bdd2962a4a0f6d5e8973b0d274d147adacfb
tree806ba9f34000158a12745a9d27b2c8b73afcd3cd
parent9e663d3f11ee34dfe92dcea98992151cae55e1ea
PCI: rockchip: Move the deassert of pm/aclk/pclk after phy_init()

Move deassert of pm/aclk/pclk after phy_init() as we want to optimize the
logic of reset control and reuse rockchip_pcie_init_port() later which
should fully follow the cold boot procedure of ROM code.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
drivers/pci/host/pcie-rockchip.c