commit | 9919d44ff2977d4da709282fa0ebedddaa3b8d85 | [log] [tgz] |
---|---|---|
author | Stephen Boyd <sboyd@codeaurora.org> | Tue Jan 02 16:50:27 2018 -0800 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Thu Jan 04 15:13:24 2018 -0800 |
tree | d6f6bce4621942794d1c7fdbc368f8e6cd3ba5ca | |
parent | e0af0c161000fa5914198d4cd1183bced68378f5 [diff] |
clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks We'd like to privatize __clk_get(), but the sunxi clk driver is calling this function to keep a reference held on the clk and call clk_prepare_enable() on it. We support this design in the clk core now with the CLK_IS_CRITICAL flag, so let's just use that instead. Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>