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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:33 +0000 (08:50 -0400)
commitd3e5b294c6a3e78b9a544eede572e239555224db
treebba6bd7765e33c95cd58c3d6b7a6b135151aacae
parenta0723dc0436813a4bb543a823b146045eb97f35b
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 <al.kochet@gmail.com>
Cc: stable@vger.kernel.org # 4.1.x-
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/clk/rockchip/clk-rk3188.c