Re: [PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-10 Thread Stephen Boyd
On 01/02, Stephen Boyd wrote: > 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 ins

Re: [PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-04 Thread Maxime Ripard
On Tue, Jan 02, 2018 at 05:35:15PM -0800, Stephen Boyd wrote: > 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 fl

Re: [PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-03 Thread Stephen Boyd
On 01/03, Chen-Yu Tsai wrote: > On Wed, Jan 3, 2018 at 9:35 AM, Stephen Boyd wrote: > > 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

Re: [PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-02 Thread Chen-Yu Tsai
On Wed, Jan 3, 2018 at 9:35 AM, Stephen Boyd wrote: > 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 le

[PATCH 4/5] clk: sunxi: Use CLK_IS_CRITICAL flag for critical clks

2018-01-02 Thread Stephen Boyd
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. Cc: Maxime Ripard Cc: Chen-Yu Ts