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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:09:02 +0000 (09:09 -0700)
commit5f9403e710e03098b06c321aee6b31621efca5b1
tree3c4e590a95a05de284a8b68e4a9a5dfccb25b132
parentafb1f06758abb5cfa01a54298b57e0cce3bf3273
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>
drivers/clk/rockchip/clk-rk3188.c