From: Hans de Goede Date: Sat, 24 Jan 2015 11:56:32 +0000 (+0100) Subject: sunxi: clk: Set sun6i-pll1 n_start = 1 X-Git-Tag: v3.12.39~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23b96e928e19077011c4c96719ea708dcb8c3953;p=people%2Fms%2Flinux.git sunxi: clk: Set sun6i-pll1 n_start = 1 commit 76820fcf7aa5a418b69cb7bed31b62d1feb1d6ad upstream. 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 Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard Signed-off-by: Jiri Slaby --- diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index 34ee69f4d50c..2cc7b59b5e4a 100644 --- a/drivers/clk/sunxi/clk-sunxi.c +++ b/drivers/clk/sunxi/clk-sunxi.c @@ -279,6 +279,7 @@ static struct clk_factors_config sun6i_a31_pll1_config = { .kwidth = 2, .mshift = 0, .mwidth = 2, + .n_start = 1, }; static struct clk_factors_config sun4i_apb1_config = {