]> 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)
commite5a2ba8d769e3e01800087171a7f21a6d0f4b5e4
tree5630b97e175b6b789e152e43591388b2346ed973
parent9be6149ea2a843aab74a395cf9b1b96c6fd2036c
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