diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2023-09-14 22:31:05 +0200 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-10-04 11:13:59 +0300 |
commit | ef23d44b7fcbd19773dcedcb50ca2f625107604f (patch) | |
tree | 19e39043547c11a8a1b1bfd06228f8794bb9512a /drivers/target/iscsi | |
parent | e9a164e367f039629fd5466a79b9f495646e1261 (diff) |
clk: imx: imx8: Add a message in case of devm_clk_hw_register_mux_parent_data_table() error
If devm_clk_hw_register_mux_parent_data_table() fails, we branch to the
error handling path and imx_check_clk_hws() is never called.
Actually, imx_check_clk_hws() is a no-op because values in 'hws' are either
valid, either NULL.
Move the call to imx_check_clk_hws() in the error handling path, so that
an error is logged.
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>
Diffstat (limited to 'drivers/target/iscsi')
0 files changed, 0 insertions, 0 deletions