alistair23-linux/drivers/clk/sunxi
Maxime Ripard 59f0ec231f 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 <maxime.ripard@free-electrons.com>
Fixes: eb662f8547 ("clk: sunxi: pll2: Add A13 support")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2015-12-02 23:27:47 -08:00
..
clk-a10-codec.c clk: sunxi: codec clock support 2015-10-21 21:51:28 +02:00
clk-a10-hosc.c clk: sunxi: Move the 24M oscillator to a file of its own 2014-06-11 09:58:44 +02:00
clk-a10-mod1.c clk: sunxi: mod1 clock support 2015-10-21 21:51:29 +02:00
clk-a10-pll2.c clk: sunxi: pll2: Fix clock running too fast 2015-12-02 23:27:47 -08:00
clk-a20-gmac.c clk: sunxi: make use of of_clk_parent_fill helper function 2015-07-28 11:59:05 -07:00
clk-factors.c clk: sunxi: Convert to clk_hw based provider APIs 2015-08-24 16:48:56 -07:00
clk-factors.h clk: sunxi: Give sunxi_factors_register a registers parameter 2014-12-21 23:51:37 +01:00
clk-mod0.c clk: sunxi: Include clk.h and remove unused clkdev.h includes 2015-07-20 11:11:26 -07:00
clk-simple-gates.c clk: sunxi: Add A33 gates support 2015-09-18 22:02:17 +02:00
clk-sun6i-apb0-gates.c clk: sunxi: sun6i-apb0-gates: Fix module autoload for OF platform driver 2015-09-16 15:22:25 -07:00
clk-sun6i-apb0.c clk: sunxi: sun6i-apb0: Fix module autoload for OF platform driver 2015-09-16 15:22:23 -07:00
clk-sun6i-ar100.c clk: sunxi: sun6i-ar100: Fix module autoload for OF platform driver 2015-09-16 15:22:27 -07:00
clk-sun8i-apb0.c clk: sunxi: sun8i-apb0: Fix module autoload for OF platform driver 2015-09-16 15:22:29 -07:00
clk-sun8i-mbus.c clk: sunxi: Include clk.h and remove unused clkdev.h includes 2015-07-20 11:11:26 -07:00
clk-sun9i-core.c clk: sunxi: Include clk.h and remove unused clkdev.h includes 2015-07-20 11:11:26 -07:00
clk-sun9i-mmc.c clk: sunxi: sun9i-mmc: Fix module autoload for OF platform driver 2015-09-16 15:22:31 -07:00
clk-sunxi.c ARM: sunxi: Add R8 support 2015-10-17 18:47:28 +02:00
clk-usb.c clk: sunxi: Include clk.h and remove unused clkdev.h includes 2015-07-20 11:11:26 -07:00
Makefile clk: sunxi: mod1 clock support 2015-10-21 21:51:29 +02:00