diff options
| author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-05-17 09:40:34 +0200 |
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-06-07 15:32:13 +0200 |
| commit | ea8edcded581ed9bd935ef7c575b0bf58eb56c82 (patch) | |
| tree | b83d69391cfe1359b0653e775e7a39b7374c72c7 /tools/perf/scripts/python | |
| parent | clk: sunxi-ng: mux: Don't just rely on the parent for CLK_SET_RATE_PARENT (diff) | |
| download | linux-ea8edcded581ed9bd935ef7c575b0bf58eb56c82.tar.gz linux-ea8edcded581ed9bd935ef7c575b0bf58eb56c82.zip | |
clk: sunxi-ng: mux: split out the pre-divider computation code
The pre-divider retrieval code was merged into the function to apply the
current pre-divider onto the parent clock rate so that we can use that
adjusted value to do our factors computation.
However, since we'll need to do the reverse operation, we need to split out
that code into a function that will be shared.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
