UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 08:48:48 +0000 (16:48 +0800)
commita04670629c109e6a17f60c6c1e1d80a9a49dab94
treeec19b10019ad996c7e404c8952c6ba35b89e60cb
parent558d958bd8b4aa7d2b4d7dc0fd7f1da58a604dce
UPSTREAM: PCI: rockchip: move the deassert of pm/aclk/pclk after phy_init

Move them 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.

Change-Id: I0a826a6de91a7c413e42e36ea5ceea5007ee7b73
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from 0722bdd2962a4a0f6d5e8973b0d274d147adacfb)
drivers/pci/host/pcie-rockchip.c