We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f318522 commit 06cee3cCopy full SHA for 06cee3c
drivers/pmdomain/imx/imx93-pd.c
@@ -125,11 +125,10 @@ static int imx93_pd_probe(struct platform_device *pdev)
125
/* Just to sync the status of hardware */
126
if (!domain->init_off) {
127
ret = clk_bulk_prepare_enable(domain->num_clks, domain->clks);
128
- if (ret) {
129
- dev_err(domain->dev, "failed to enable clocks for domain: %s\n",
130
- domain->genpd.name);
131
- return ret;
132
- }
+ if (ret)
+ return dev_err_probe(domain->dev, ret,
+ "failed to enable clocks for domain: %s\n",
+ domain->genpd.name);
133
}
134
135
ret = pm_genpd_init(&domain->genpd, NULL, domain->init_off);
0 commit comments