clk: qcom: ipq8074: fix missing GPLL0 divider width
authorAbhishek Sahu <absahu@codeaurora.org>
Wed, 13 Dec 2017 14:25:34 +0000 (19:55 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 22 Dec 2017 00:03:26 +0000 (16:03 -0800)
GPLL0 uses 4 bits post divider which should be specified
in clock driver structure.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-ipq8074.c

index ed2d00f553780865115e0b7a1270bfdb1183a8aa..99906f6a8264aef2a2cc61562994efe5db372953 100644 (file)
@@ -84,6 +84,7 @@ static struct clk_fixed_factor gpll0_out_main_div2 = {
 static struct clk_alpha_pll_postdiv gpll0 = {
        .offset = 0x21000,
        .regs = clk_alpha_pll_regs[CLK_ALPHA_PLL_TYPE_DEFAULT],
+       .width = 4,
        .clkr.hw.init = &(struct clk_init_data){
                .name = "gpll0",
                .parent_names = (const char *[]){