Re: [PATCH v2 02/16] clk: k210: Fix PLL enable always getting taken

2020-11-02 Thread Rick Chen
> This conditional always evaluated as false, regardless of the value of reg. > Fix it so that it properly tests the bits in the PLL register. Also test > PLL_EN, now that we set it. > > Reported-by: Damien Le Moal > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > drivers/clk/k

[PATCH v2 02/16] clk: k210: Fix PLL enable always getting taken

2020-10-12 Thread Sean Anderson
This conditional always evaluated as false, regardless of the value of reg. Fix it so that it properly tests the bits in the PLL register. Also test PLL_EN, now that we set it. Reported-by: Damien Le Moal Signed-off-by: Sean Anderson --- Changes in v2: - New drivers/clk/kendryte/pll.c | 3 ++-