]> git.ipfire.org Git - people/ms/linux.git/commitdiff
sunxi: clk: Set sun6i-pll1 n_start = 1
authorHans de Goede <hdegoede@redhat.com>
Sat, 24 Jan 2015 11:56:32 +0000 (12:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 12:31:32 +0000 (13:31 +0100)
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 <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/sunxi/clk-sunxi.c

index abb6c5ac8a10297505a8a7f1cb1cb0d5f8eccf16..06a14b808683441248d885778f85238b6ef76159 100644 (file)
@@ -407,6 +407,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_pll5_config = {