From: Alexander Kochetkov Date: Tue, 26 Jan 2016 13:34:00 +0000 (+0300) Subject: clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks X-Git-Tag: v4.1.22~136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3e5b294c6a3e78b9a544eede572e239555224db;p=platform%2Fkernel%2Flinux-exynos.git clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks [ Upstream commit e8b63288b37dbb8457b510c9d96f6006da4653f6 ] 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 Cc: stable@vger.kernel.org # 4.1.x- Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index 3659ea9e..404a966 100644 --- a/drivers/clk/rockchip/clk-rk3188.c +++ b/drivers/clk/rockchip/clk-rk3188.c @@ -710,6 +710,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)