diff options
author | Martin Blumenstingl <[email protected]> | 2021-10-16 12:50:22 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2021-10-18 12:59:46 -0700 |
commit | 6594988fd625ff0d9a8f90f1788e16185358a3e6 (patch) | |
tree | 355a00f5ba4adb581c6deb28618035237463b45b /lib/mpi | |
parent | 675c496d0f92b481ebe4abf4fb06eadad7789de6 (diff) |
clk: composite: Use rate_ops.determine_rate when also a mux is available
Update clk_composite_determine_rate() to use rate_ops.determine_rate
when available in combination with a mux. So far clk_divider_ops provide
both, .round_rate and .determine_rate. Removing the former would make
clk-composite fail silently for example on Rockchip platforms (which
heavily use composite clocks).
Add support for using rate_ops.determine_rate when either
rate_ops.round_rate is not available or both (.round_rate and
.determine_rate) are provided.
Suggested-by: Alex Bee <[email protected]>
Signed-off-by: Martin Blumenstingl <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Alex Bee <[email protected]>
Tested-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions