diff options
author | Nikita Travkin <[email protected]> | 2022-06-12 19:59:52 +0500 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2022-06-30 22:34:13 -0500 |
commit | bdafb609c3bb848d710ad9cd4debd2ee9d6a4049 (patch) | |
tree | f4328ac656cf52d92e74b3fbda96e85fd7175e58 /lib/mpi/mpi-mod.c | |
parent | f8acf01a6a4f84baf05181e24bd48def4ba23f5b (diff) |
clk: qcom: clk-rcg2: Fail Duty-Cycle configuration if MND divider is not enabled.
In cases when MND is not enabled (e.g. when only Half Integer Divider is
used), setting D registers makes no effect.
Fail instead of making ineffective write.
Fixes: 7f891faf596e ("clk: qcom: clk-rcg2: Add support for duty-cycle for RCG")
Signed-off-by: Nikita Travkin <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions