Commit faddad52 authored by Dzmitry Sankouski's avatar Dzmitry Sankouski Committed by Bjorn Andersson
Browse files

clk: qcom: clk-rcg2: split __clk_rcg2_configure function



__clk_rcg2_configure function does 2 things -
configures parent and mnd values. In order to
be able to add new clock options, we should split.

Move __clk_rcg2_configure logic on 2 functions:
- __clk_rcg2_configure_parent which configures clock parent
- __clk_rcg2_configure_mnd which configures mnd values

__clk_rcg2_configure delegates to mentioned functions.

Signed-off-by: default avatarDzmitry Sankouski <dsankouski@gmail.com>
Link: https://lore.kernel.org/r/20241118-starqltechn_integration_upstream-v8-2-ac8e36a3aa65@gmail.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent cef0523d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment