rockchip: Disable rdist before pwr_dm_suspend is called
authorDerek Basehore <dbasehore@chromium.org>
Fri, 26 Jan 2018 06:05:41 +0000 (22:05 -0800)
committerDerek Basehore <dbasehore@chromium.org>
Fri, 26 Jan 2018 06:09:23 +0000 (22:09 -0800)
commit3284ce15ba775432900684bca38983b7b34a33b8
tree174757594fc405fec8dd06f092ab45e3ff21e161
parentb38c6f6b2d7b27af74793f1053f5a3d0d67d307d
rockchip: Disable rdist before pwr_dm_suspend is called

This disables the redistributor before either of the pwr_dm_suspend
functions are called. This is because the rdist save code in the
rk3399 rockchip_soc_sys_pwr_dm_suspend function requires that each
redistributor be disabled before saving state.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
plat/rockchip/common/plat_pm.c