Re: [PATCH v4 05/10] clk: Add clk_drop_range

2022-02-18 Thread Stephen Boyd
Quoting Maxime Ripard (2022-01-25 06:15:44) > index 266e8de3cb51..f365dac7be17 100644 > --- a/include/linux/clk.h > +++ b/include/linux/clk.h > @@ -1005,6 +1005,17 @@ static inline struct clk *clk_get_optional(struct > device *dev, const char *id) > return clk; > } > > +/** > + * clk_dr

[PATCH v4 05/10] clk: Add clk_drop_range

2022-01-25 Thread Maxime Ripard
In order to reset the range on a clock, we need to call clk_set_rate_range with a minimum of 0 and a maximum of ULONG_MAX. Since it's fairly inconvenient, let's introduce a clk_drop_range() function that will do just this. Suggested-by: Stephen Boyd Signed-off-by: Maxime Ripard --- drivers/clk/