[PATCH 3/5] clk: at91: fix recalc_rate implementation of PLL driver

2014-09-02 Thread Boris BREZILLON
Use the cached values to calculate PLL rate instead of the register values. This is required to prevent erroneous PLL rate return when the PLL rate has been configured but the PLL is not prepared yet. Signed-off-by: Boris BREZILLON Reported-by: Gaël PORTAY --- drivers/clk/at91/clk-pll.c | 11

[PATCH 3/5] clk: at91: fix recalc_rate implementation of PLL driver

2014-09-02 Thread Boris BREZILLON
Use the cached values to calculate PLL rate instead of the register values. This is required to prevent erroneous PLL rate return when the PLL rate has been configured but the PLL is not prepared yet. Signed-off-by: Boris BREZILLON boris.brezil...@free-electrons.com Reported-by: Gaël PORTAY