diff options
author | Alexander Kochetkov <al.kochet@gmail.com> | 2016-01-26 16:34:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-12 07:33:46 -0700 |
commit | df775ddbb1f1603df4c4fd56b45ae2ccf30ae7d4 (patch) | |
tree | 89f9400f2519c037fd4de392f6c06bdd99453593 | |
parent | 76f5f39b0f9da3499f00118343b94e88aa617567 (diff) | |
download | lwn-df775ddbb1f1603df4c4fd56b45ae2ccf30ae7d4.tar.gz lwn-df775ddbb1f1603df4c4fd56b45ae2ccf30ae7d4.zip |
clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks
commit e8b63288b37dbb8457b510c9d96f6006da4653f6 upstream.
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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/clk/rockchip/clk-rk3188.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c index 7f7444cbf6fc..05263571c223 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) |