Re: [PATCH 3/3] clk: Loongson1: Make use of GENMASK

2016-08-18 Thread Stephen Boyd
On 08/12, Keguang Zhang wrote: > From: Kelvin Cheung > > Make use of GENMASK instead of open coding the equivalent operation, > and update the PLL formula. Was the old formula broken? I would expect a bug fix like this to be first in the series and be backported to any

Re: [PATCH 3/3] clk: Loongson1: Make use of GENMASK

2016-08-18 Thread Stephen Boyd
On 08/12, Keguang Zhang wrote: > From: Kelvin Cheung > > Make use of GENMASK instead of open coding the equivalent operation, > and update the PLL formula. Was the old formula broken? I would expect a bug fix like this to be first in the series and be backported to any affected stable trees.

[PATCH 3/3] clk: Loongson1: Make use of GENMASK

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 3/3] clk: Loongson1: Make use of GENMASK

2016-08-12 Thread Keguang Zhang
From: Kelvin Cheung Make use of GENMASK instead of open coding the equivalent operation, and update the PLL formula. Signed-off-by: Kelvin Cheung --- drivers/clk/loongson1/clk-loongson1b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git