Searched hist:"47923 f48f2e9c594393a28e5c0d5267a59c8643d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/clk/imx/ |
H A D | clk-imx8-acm.c | diff 47923f48f2e9c594393a28e5c0d5267a59c8643d Thu Sep 14 15:31:04 CDT 2023 Christophe JAILLET <christophe.jaillet@wanadoo.fr> clk: imx: imx8: Fix an error handling path in imx8_acm_clk_probe()
[ Upstream commit e9a164e367f039629fd5466a79b9f495646e1261 ]
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: d3a0946d7ac9 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
|