clk: rockchip: add CLK_IGNORE_UNUSED flag to fix rk3066/rk3188 USB Host
authorJulien CHAUVEAU <julien.chauveau@neo-technologies.fr>
Fri, 12 Dec 2014 21:05:52 +0000 (22:05 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 21 Dec 2014 14:18:24 +0000 (15:18 +0100)
commitcaa6934ac70b1dd7d1d4939961da5b23f305d968
tree2e31732d8b9297f0dad7d7d7e3b4d847ff0c21e7
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
clk: rockchip: add CLK_IGNORE_UNUSED flag to fix rk3066/rk3188 USB Host

This patch adds CLK_IGNORE_UNUSED flag to hclk_usb_peri, hclk_usbotg0
and hclk_usbotg1 because these clocks must remain enabled to use the
USB controllers in host mode.

This fixes a regression introduced by commit 78eaf6095cc7
("clk: rockchip: disable unused clocks").

Signed-off-by: Julien CHAUVEAU <julien.chauveau@neo-technologies.fr>
Fixes: 78eaf6095cc7 ("clk: rockchip: disable unused clocks")
Reviewed-by: Romain Perier <romain.perier@gmail.com>
Tested-by: Romain Perier <romain.perier@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3188.c