]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 1 Jul 2015 19:36:18 +0000 (15:36 -0400)
commit66b03714fea97e8795f3eee6102db1f9a876d228
tree93d423cafc380698382999dc048f8a0ae5a19bfb
parent6429e7067cf74aba03bf368e2edb9756cc76b0ee
clk: at91: pll: fix input range validity check

[ Upstream commit 6c7b03e1aef2e92176435f4fa562cc483422d20f ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/clk/at91/clk-pll.c