]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: sam9x60-pll: use frac when setting frequency
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 22 Jul 2020 07:38:14 +0000 (10:38 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 24 Jul 2020 09:18:47 +0000 (02:18 -0700)
commit3202daf3472d4be4171f64d64c53fd40edb39006
treeccf33dc79ca03ac4563c4c3b0e678823f03e6e9c
parentfd2addee06921477d66b804dc3064a646436d9e3
clk: at91: sam9x60-pll: use frac when setting frequency

In commit 8c4c53d807885 ("clk: at91: add sam9x60 PLL driver")
the fractional part of PLL wasn't set on registers but it was
calculated and taken into account for determining div and mul
(see sam9x60_pll_get_best_div_mul()).

Fixes: 8c4c53d807885 ("clk: at91: add sam9x60 PLL driver")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/1595403506-8209-7-git-send-email-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/at91/clk-sam9x60-pll.c