diff options
| author | Maxime Ripard <[email protected]> | 2017-05-17 09:40:33 +0200 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2017-06-07 15:32:13 +0200 |
| commit | 73e3e04fc009973d55a523ece1a7261ef7a089be (patch) | |
| tree | d3d6bd862fd78a4b0bb74c24d19c2d7ce3081be9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e69b2afa876d246feff724dfc7b0b58aec360633 (diff) | |
clk: sunxi-ng: mux: Don't just rely on the parent for CLK_SET_RATE_PARENT
The current code only rely on the parent to change its rate in the case
where CLK_SET_RATE_PARENT is set.
However, some clock rates might be obtained only through a modification of
the parent and the clock divider. Just rely on the round rate of the clocks
to give us the best computation that might be achieved for a given rate.
round_rate functions now need to honor CLK_SET_RATE_PARENT, but either the
functions already do that if they modify the parent, or don't modify the
praents at all.
Signed-off-by: Maxime Ripard <[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