From 5e2a8f650b34cf9bcc46fd8db508d7385bc8db08 Mon Sep 17 00:00:00 2001 From: Jianqun xu Date: Wed, 2 Dec 2015 21:22:31 +0800 Subject: [PATCH] clk: rockchip: protect rk3368 aclk_bus and aclk_peri clocks 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 Signed-off-by: Heiko Stuebner --- drivers/clk/rockchip/clk-rk3368.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index c3b84140483c..f8b71dc60c4e 100644 --- a/drivers/clk/rockchip/clk-rk3368.c +++ b/drivers/clk/rockchip/clk-rk3368.c @@ -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", }; -- 2.34.1