Thread (3 messages) 3 messages, 3 authors, 2021-12-02

Re: [PATCH] clk: qcom: regmap-mux: fix parent clock lookup

From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-12-02 23:07:14
Also in: linux-arm-msm, linux-clk

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 <redacted>
---
Applied to clk-fixes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help