Re: [PATCH v2 04/18] clk: at91: sam9x60-pll: use logical or for range check

From: Stephen Boyd
Date: Fri Jul 24 2020 - 05:20:57 EST


Quoting Claudiu Beznea (2020-07-22 00:38:12)
> Use logical or for range check. In case bestrate is not in
> characteristics->output[0].min..characteristics->output[0].max
> range we should return -ERANGE.
>
> Fixes: a436c2a447e59 ("clk: at91: add sam9x60 PLL driver")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
> Reviewed-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
> ---

Applied to clk-next