projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clk: imx: imx8: Fix an error handling path if devm_clk_hw_register_mux_parent_data_ta...
[platform/kernel/linux-starfive.git]
/
drivers
/
clk
/
imx
/
clk-imx8-acm.c
diff --git
a/drivers/clk/imx/clk-imx8-acm.c
b/drivers/clk/imx/clk-imx8-acm.c
index
87025a6
..
73b3b53
100644
(file)
--- a/
drivers/clk/imx/clk-imx8-acm.c
+++ b/
drivers/clk/imx/clk-imx8-acm.c
@@
-373,6
+373,7
@@
static int imx8_acm_clk_probe(struct platform_device *pdev)
sels[i].shift, sels[i].width,
0, NULL, NULL);
if (IS_ERR(hws[sels[i].clkid])) {
+ ret = PTR_ERR(hws[sels[i].clkid]);
pm_runtime_disable(&pdev->dev);
goto err_clk_register;
}