You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
committed by
Stephen Boyd
parent
428c9de583
commit
8fedfee49f
@@ -229,6 +229,7 @@ static int palmas_clks_init_configure(struct palmas_clock_info *cinfo)
|
|||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
dev_err(cinfo->dev, "Ext config for %s failed, %d\n",
|
dev_err(cinfo->dev, "Ext config for %s failed, %d\n",
|
||||||
cinfo->clk_desc->clk_name, ret);
|
cinfo->clk_desc->clk_name, ret);
|
||||||
|
clk_unprepare(cinfo->hw.clk);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user