]> Git Repo - linux.git/commit
clk: sunxi: pll2: Fix clock running too fast
authorMaxime Ripard <[email protected]>
Tue, 1 Dec 2015 11:14:52 +0000 (12:14 +0100)
committerStephen Boyd <[email protected]>
Thu, 3 Dec 2015 07:27:47 +0000 (23:27 -0800)
commit59f0ec231f397001801264063db3b6dcc3eef590
treea1c3ef94f0829eccd4b1e03429a35cef3466fb2d
parente80cf2e50bfabb14dd3667b2360a393dda3edc3f
clk: sunxi: pll2: Fix clock running too fast

Contrary to what the datasheet says, the pre divider doesn't seem to be
incremented by one in the PLL2, but just uses the value from the register,
with 0 being a bypass.

This fixes the audio playing too fast.

Since we now have the same pre-divider flags, and the only difference with
the A10 is the post-divider offset, also remove the structure to just pass
the offset as an argument.

Signed-off-by: Maxime Ripard <[email protected]>
Fixes: eb662f854710 ("clk: sunxi: pll2: Add A13 support")
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/sunxi/clk-a10-pll2.c
This page took 0.055739 seconds and 4 git commands to generate.