rockchip: remove no needed code for rk3399
authorCaesar Wang <wxt@rock-chips.com>
Wed, 26 Oct 2016 00:14:40 +0000 (17:14 -0700)
committerCaesar Wang <wxt@rock-chips.com>
Mon, 7 Nov 2016 11:57:34 +0000 (19:57 +0800)
commit06077161e9be0a007dbb02c8d04f4b08805d89e0
treea06dc70f983c519566002c8e514040cacc86ea11
parenta14e09162172e016ce3586ec4048bc7614d4bf1f
rockchip: remove no needed code for rk3399

We have do something for clocks gate.

Fox example as the below:
susped:
clk_gate_con_save();
clk_gate_con_disable();

resume:
clk_gate_con_restore();
--

SO, add the plls_suspend_prepare() and plls_resume_finish() are not
necessary to S2R, that will save S2R time if remove them.

BRANCH=none
BUG=chrome-os-partner:58870,chrome-os-partner:55934
TEST=build kevin, two dogfooders with suspend_stress_test
passing 3000 cycles and still going on.

Change-Id: Icfbabc0b3ea8d2b5108d4f3de99a803b6d459669
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
plat/rockchip/rk3399/drivers/pmu/pmu.c
plat/rockchip/rk3399/drivers/soc/soc.c
plat/rockchip/rk3399/drivers/soc/soc.h