summaryrefslogtreecommitdiffstats
path: root/drivers/clk/rockchip/clk-rk3188.c
diff options
context:
space:
mode:
authorAlexander Kochetkov2016-01-26 14:34:00 +0100
committerHeiko Stuebner2016-01-26 21:09:51 +0100
commite8b63288b37dbb8457b510c9d96f6006da4653f6 (patch)
tree728565db7fbd43d9fdcc4ea14d2bd604ac60fff4 /drivers/clk/rockchip/clk-rk3188.c
parentclk: rockchip: add tsadc clock on rk3066 (diff)
downloadkernel-qcow2-linux-e8b63288b37dbb8457b510c9d96f6006da4653f6.tar.gz
kernel-qcow2-linux-e8b63288b37dbb8457b510c9d96f6006da4653f6.tar.xz
kernel-qcow2-linux-e8b63288b37dbb8457b510c9d96f6006da4653f6.zip
clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks
hclk_cpubus needs to keep running because it is needed for devices like the rom, i2s0 or spdif to be accessible via cpu. Without that all accesses to devices (readl/writel) return wrong data. So add it to the list of critical clocks. Fixes: 78eaf6095cc763c ("clk: rockchip: disable unused clocks") Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com> Cc: stable@vger.kernel.org # 4.1.x- Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip/clk-rk3188.c')
-rw-r--r--drivers/clk/rockchip/clk-rk3188.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c
index 3d4f2c629682..cc1d09d77edd 100644
--- a/drivers/clk/rockchip/clk-rk3188.c
+++ b/drivers/clk/rockchip/clk-rk3188.c
@@ -748,6 +748,7 @@ static const char *const rk3188_critical_clocks[] __initconst = {
"hclk_peri",
"pclk_cpu",
"pclk_peri",
+ "hclk_cpubus"
};
static void __init rk3188_common_clk_init(struct device_node *np)