aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2017-05-17 09:40:30 +0200
committerMaxime Ripard <[email protected]>2017-06-07 15:32:12 +0200
commit22833a9165a1c72a54ddc696a3765bd6f87fbb92 (patch)
treec7633d35fa9dc645da3f64f3602b7a8999a68742 /tools/perf/scripts/python/export-to-postgresql.py
parentb042e42feec495dd199525d3f88ffb323e5ec199 (diff)
clk: divider: Make divider_round_rate take the parent clock
So far, divider_round_rate only considers the parent clock returned by clk_hw_get_parent. This works fine on clocks that have a single parents, this doesn't work on muxes, since we will only consider the first parent, while other parents may totally be able to provide a better combination. Clocks in that case cannot use divider_round_rate, so would have to come up with a very similar logic to work around it. Instead of having to do something like this, and duplicate that logic everywhere, create a divider_round_rate parent to allow caller to give an additional parameter for the parent clock to consider. Reviewed-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Acked-by: Stephen Boyd <[email protected]> Signed-off-by: Chen-Yu Tsai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions