]> git.karo-electronics.de Git - linux-beck.git/commitdiff
clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks
authorAlexander Kochetkov <al.kochet@gmail.com>
Tue, 26 Jan 2016 13:34:00 +0000 (16:34 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 26 Jan 2016 20:09:51 +0000 (21:09 +0100)
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>
drivers/clk/rockchip/clk-rk3188.c

index 3d4f2c629682e825630149dbbef00a71e670e64e..cc1d09d77edda50ac21cf52899d03c61caedb5dd 100644 (file)
@@ -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)