Home
last modified time | relevance | path

Searched hist:"93 f3e233230542d6abca950259eb93a1961ba0d2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/imx/
H A Dclk-imx8-acm.cdiff 93f3e233230542d6abca950259eb93a1961ba0d2 Thu Sep 14 15:31:03 CDT 2023 Christophe JAILLET <christophe.jaillet@wanadoo.fr> clk: imx: imx8: Fix an error handling path if devm_clk_hw_register_mux_parent_data_table() fails

[ Upstream commit 9a0108acdb1b6189dcc8f9318edfc6b7e0281df4 ]

If a devm_clk_hw_register_mux_parent_data_table() call fails, it is likely
that the probe should fail with an error code.

Set 'ret' before leaving the function.

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>