sunxi: clocks: Use the correct pattern register for PLL11
authorPhilipp Tomsich <[email protected]>
Mon, 2 Jan 2017 11:48:41 +0000 (11:48 +0000)
committerJagan Teki <[email protected]>
Wed, 4 Jan 2017 15:37:42 +0000 (16:37 +0100)
Signed-off-by: Philipp Tomsich <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Reviewed-by: Jagan Teki <[email protected]>
arch/arm/mach-sunxi/clock_sun6i.c

index 80cfc0be8943327458977d8a7a081fb38f52b517..8e39bbef82f65f98bbf751d046724fa1c047b527 100644 (file)
@@ -224,7 +224,7 @@ void clock_set_pll11(unsigned int clk, bool sigma_delta_enable)
                (struct sunxi_ccm_reg *)SUNXI_CCM_BASE;
 
        if (sigma_delta_enable)
-               writel(CCM_PLL11_PATTERN, &ccm->pll5_pattern_cfg);
+               writel(CCM_PLL11_PATTERN, &ccm->pll11_pattern_cfg0);
 
        writel(CCM_PLL11_CTRL_EN | CCM_PLL11_CTRL_UPD |
               (sigma_delta_enable ? CCM_PLL11_CTRL_SIGMA_DELTA_EN : 0) |