diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-02 16:50:27 -0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-04 15:13:24 -0800 |
commit | 9919d44ff2977d4da709282fa0ebedddaa3b8d85 (patch) | |
tree | d6f6bce4621942794d1c7fdbc368f8e6cd3ba5ca /include/linux/clkdev.h | |
parent | e0af0c161000fa5914198d4cd1183bced68378f5 (diff) | |
download | linux-9919d44ff2977d4da709282fa0ebedddaa3b8d85.tar.gz linux-9919d44ff2977d4da709282fa0ebedddaa3b8d85.tar.bz2 linux-9919d44ff2977d4da709282fa0ebedddaa3b8d85.zip |
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>
Diffstat (limited to 'include/linux/clkdev.h')
0 files changed, 0 insertions, 0 deletions