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

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

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-11-16 08:24:15
Also in: linux-arm-msm, linux-clk

On Tue, Nov 16, 2021 at 02:34:07AM +0300, Dmitry Baryshkov wrote:
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>

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
    https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.

</formletter>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help