From: Boris BREZILLON Date: Tue, 2 Sep 2014 07:50:15 +0000 (+0200) Subject: clk: at91: rework PLL rate calculation X-Git-Tag: omap-for-v3.19/prcm-cleanup~65^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef9dd2bab7d6a013f75f9fb226d0191e9981288;p=pandora-kernel.git clk: at91: rework PLL rate calculation The AT91 PLL rate configuration is done by configuring a multiplier/divider pair. The previous calculation was over-complicated (and apparently buggy). Simplify the implementation and add some comments to explain what is done here. Signed-off-by: Boris BREZILLON Reported-by: Gaël PORTAY Tested-by: Gaël PORTAY Signed-off-by: Mike Turquette --- Reading git-diff-tree failed