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:Peng Fan <peng.fan@nxp.com> Signed-off-by:
Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by:
Abel Vesa <abel.vesa@linaro.org>
Loading
Please sign in to comment