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

clk: imx: imx8: Fix an error handling path if devm_clk_hw_register_mux_parent_data_table() fails



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: 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 156624e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment