commit | 87e2ed338f1b56798807ccf12eb6112d25062202 | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Tue Sep 02 09:50:16 2014 +0200 |
committer | Mike Turquette <mturquette@linaro.org> | Tue Sep 02 15:37:17 2014 -0700 |
tree | 3547acba47040ac108b4ecb02a3c414aa1ed1ada | |
parent | 3ef9dd2bab7d6a013f75f9fb226d0191e9981288 [diff] |
clk: at91: fix recalc_rate implementation of PLL driver 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.brezillon@free-electrons.com> Reported-by: Gaël PORTAY <gael.portay@gmail.com> Tested-by: Gaël PORTAY <gael.portay@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>