This patch affects the clocks that use fractional ndivider in their
PLL output frequency calculation. Instead of 2^20 divide factor, the
clock's ndiv integer shift was used. Fixed the bug by replacing ndiv
integer shift with 2^20 factor.
Signed-off-by: Simran Rai <[email protected]>
Signed-off-by: Ray Jui <[email protected]>
Reviewed-by: Scott Branden <[email protected]>
Fixes: 5fe225c105 ("clk: iproc: add initial common clock support")
Cc: <[email protected]> # v4.1+
Signed-off-by: Michael Turquette <[email protected]>