Commit e9a164e3 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Abel Vesa
Browse files

clk: imx: imx8: Fix an error handling path in imx8_acm_clk_probe()



If an error occurs after a successful clk_imx_acm_attach_pm_domains() call,
it must be undone.

Add an explicit error handling path, re-order the code and add the missing
clk_imx_acm_detach_pm_domains() call.

Fixes: d3a0946d ("clk: imx: imx8: add audio clock mux driver")
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarAbel Vesa <abel.vesa@linaro.org>
parent 9a0108ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment