Quoting Dmitry Baryshkov (2021-11-15 15:34:07)
The function mux_get_parent() uses qcom_find_src_index() to find the parent clock index, which is incorrect: qcom_find_src_index() uses src enum for the lookup, while mux_get_parent() should use cfg field (which corresponds to the register value). Add qcom_find_cfg_index() function doing this kind of lookup and use it for mux parent lookup.
Fixes: df964016490b ("clk: qcom: add parent map for regmap mux") Signed-off-by: Dmitry Baryshkov dmitry.baryshkov@linaro.org
Applied to clk-fixes