diff options
author | Zdenko Pulitika <zdenko.pulitika@imgtec.com> | 2015-08-26 17:11:39 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-08-26 11:34:41 -0700 |
commit | 7937c6c57e0da7bffa7b10bac23f230c77523e35 (patch) | |
tree | cc6bbea7149e3cac0b0adffbfae75c1496a1d2c6 /Kconfig | |
parent | e53f21c761d141bbcbce06e9ddab3b4e0a828f2c (diff) | |
download | linux-7937c6c57e0da7bffa7b10bac23f230c77523e35.tar.bz2 |
clk: pistachio: Fix PLL rate calculation in integer mode
.recalc_rate callback for the fractional PLL doesn't take operating
mode into account when calculating PLL rate. This results in
the incorrect PLL rates when PLL is operating in integer mode.
Operating mode of fractional PLL is based on the value of the
fractional divider. Currently it assumes that the PLL will always
be configured in fractional mode which may not be
the case. This may result in the wrong output frequency.
Also vco was calculated based on the current operating mode which
makes no sense because .set_rate is setting operating mode. Instead,
vco should be calculated using PLL settings that are about to be set.
Fixes: 43049b0c83f17("CLK: Pistachio: Add PLL driver")
Cc: <stable@vger.kernel.org> # 4.1
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Zdenko Pulitika <zdenko.pulitika@imgtec.com>
Signed-off-by: Govindraj Raja <govindraj.raja@imgtec.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions