aboutsummaryrefslogtreecommitdiff
path: root/arch/s390/lib/test_modules_helpers.c
diff options
context:
space:
mode:
authorJay Buddhabhatti <[email protected]>2023-11-29 03:29:16 -0800
committerStephen Boyd <[email protected]>2023-12-16 17:20:14 -0800
commit1fe15be1fb613534ecbac5f8c3f8744f757d237d (patch)
tree52a8ae51845764d8454a11b75f4565950cf156ad /arch/s390/lib/test_modules_helpers.c
parentb782921ddd7f84f524723090377903f399fdbbcb (diff)
drivers: clk: zynqmp: update divider round rate logic
Currently zynqmp divider round rate is considering single parent and calculating rate and parent rate accordingly. But if divider clock flag is set to SET_RATE_PARENT then its not trying to traverse through all parent rate and not selecting best parent rate from that. So use common divider_round_rate() which is traversing through all clock parents and its rate and calculating proper parent rate. Fixes: 3fde0e16d016 ("drivers: clk: Add ZynqMP clock driver") Signed-off-by: Jay Buddhabhatti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'arch/s390/lib/test_modules_helpers.c')
0 files changed, 0 insertions, 0 deletions