]> git.baikalelectronics.ru Git - kernel.git/commit
phy-rockchip-pcie: remove deassert of phy_rst from exit callback
authorShawn Lin <shawn.lin@rock-chips.com>
Thu, 13 Oct 2016 04:42:13 +0000 (12:42 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 5 Nov 2016 08:15:02 +0000 (13:45 +0530)
commitd06644c40045f2f302b8ea2df02f61214b3566db
treea63d4435166ba9829ef556dfdb956982e5a4b12c
parentbcc15de9dddafced82374450dfdcbdf4b909eeff
phy-rockchip-pcie: remove deassert of phy_rst from exit callback

The deassert of phy_rst from exit callback is incorrect as when
doing phy_exit, we expect the phy_rst is on asserted state which was
done by power_off callback, but not deasserted state. Meanwhile when
disabling clk_pciephy_ref, the assert/deassert signal can't actually
take effect on the phy. So let's fix it anyway.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-rockchip-pcie.c