Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16d1c899 authored by Haojian Zhuang's avatar Haojian Zhuang Committed by Haojian Zhuang
Browse files

clk: hisi: assign missing clk to table



The fixed rate and fixed factor clock isn't registered to clk table.

Signed-off-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
parent 38dbfb59
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ void __init hisi_clk_register_fixed_rate(struct hisi_fixed_rate_clock *clks,
			       __func__, clks[i].name);
			continue;
		}
		clk_table[clks[i].id] = clk;
	}
}

@@ -87,6 +88,7 @@ void __init hisi_clk_register_fixed_factor(struct hisi_fixed_factor_clock *clks,
			       __func__, clks[i].name);
			continue;
		}
		clk_table[clks[i].id] = clk;
	}
}