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

Commit 8fedfee4 authored by Arvind Yadav's avatar Arvind Yadav Committed by Stephen Boyd
Browse files

clk: palmas: undo preparation of a clock source.



Undo preparation of a clock source, if palmas_clks_init_configure is not
successful.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 428c9de5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -229,6 +229,7 @@ static int palmas_clks_init_configure(struct palmas_clock_info *cinfo)
		if (ret < 0) {
			dev_err(cinfo->dev, "Ext config for %s failed, %d\n",
				cinfo->clk_desc->clk_name, ret);
			clk_unprepare(cinfo->hw.clk);
			return ret;
		}
	}