clk: rockchip: protect rk3368 aclk_bus and aclk_peri clocks
authorJianqun xu <jay.xu@rock-chips.com>
Wed, 2 Dec 2015 13:22:31 +0000 (21:22 +0800)
committerJianqun xu <jay.xu@rock-chips.com>
Thu, 3 Dec 2015 02:09:21 +0000 (10:09 +0800)
Add aclk_bus and aclk_peri to the list of rk3368 critical clocks,
which are the base clocks that supply for all peripherals, never
to be disabled automatically.

Change-Id: Ifbaa14eec5049c41a7c15ebbddc2c3ecc2515caf
Signed-off-by: Jianqun xu <jay.xu@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3368.c

index c3b84140483c1fde14be15a3fb4901c38db1259a..f8b71dc60c4e3f2ef3309aca01d9e4d00ff45475 100644 (file)
@@ -819,6 +819,8 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
 };
 
 static const char *const rk3368_critical_clocks[] __initconst = {
+       "aclk_bus",
+       "aclk_peri",
        "pclk_pd_pmu",
 };