Skip to content

Commit

Permalink
clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks
Browse files Browse the repository at this point in the history
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: 78eaf60 ("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>
  • Loading branch information
Alexander Kochetkov authored and Heiko Stuebner committed Jan 26, 2016
1 parent 2c41b5a commit e8b6328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/rockchip/clk-rk3188.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e8b6328

Please sign in to comment.