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

Commit dfcd6e43 authored by Paul Mundt's avatar Paul Mundt
Browse files

Merge branch 'common/clkfwk' into sh-fixes-for-linus

parents d53e4307 f278ea84
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -418,8 +418,11 @@ int clk_register(struct clk *clk)
		list_add(&clk->sibling, &root_clks);

	list_add(&clk->node, &clock_list);

#ifdef CONFIG_SH_CLK_CPG_LEGACY
	if (clk->ops && clk->ops->init)
		clk->ops->init(clk);
#endif

out_unlock:
	mutex_unlock(&clock_list_sem);
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ static int sh_clk_div6_enable(struct clk *clk)
	unsigned long value;
	int ret;

	ret = sh_clk_div6_set_rate(clk, clk->rate, 0);
	ret = sh_clk_div6_set_rate(clk, clk->rate);
	if (ret == 0) {
		value = __raw_readl(clk->enable_reg);
		value &= ~0x100; /* clear stop bit to enable clock */