summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-24 12:56:32 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-01-25 16:55:25 +0100
commit76820fcf7aa5a418b69cb7bed31b62d1feb1d6ad (patch)
tree9785e76ceb03c7b40a2cd8c89df64d751766424e /drivers/clk
parentclk: sunxi: rewrite sun9i_a80_get_pll4_factors() (diff)
downloadlinux-76820fcf7aa5a418b69cb7bed31b62d1feb1d6ad.tar.xz
linux-76820fcf7aa5a418b69cb7bed31b62d1feb1d6ad.zip
sunxi: clk: Set sun6i-pll1 n_start = 1
For all pll-s on sun6i n == 0 means use a multiplier of 1, rather then 0 as it means on sun4i / sun5i / sun7i. n_start = 1 is already correctly set for sun6i pll6, but was missing for pll1, this commit fixes this. Cc: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/sunxi/clk-sunxi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index d43c7949a07c..9b79f8907cc5 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -584,6 +584,7 @@ static struct clk_factors_config sun6i_a31_pll1_config = {
.kwidth = 2,
.mshift = 0,
.mwidth = 2,
+ .n_start = 1,
};
static struct clk_factors_config sun8i_a23_pll1_config = {