]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: pll: fix input range validity check
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 27 Mar 2015 22:53:15 +0000 (23:53 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 19 Jun 2015 12:43:39 +0000 (14:43 +0200)
commitffe91830904046b6a064090ebbd50158847f9b08
tree5630b97e175b6b789e152e43591388b2346ed973
parent9d76bc5f85c39c6a879bdd831a7ed5f76a2c6eeb
clk: at91: pll: fix input range validity check

The PLL impose a certain input range to work correctly, but it appears that
this input range does not apply on the input clock (or parent clock) but
on the input clock after it has passed the PLL divisor.
Fix the implementation accordingly.

Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Jonas Andersson <jonas@microbit.se>
drivers/clk/at91/clk-pll.c