aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2020-12-12 13:57:33 +0000
committerStephen Boyd <[email protected]>2020-12-19 16:04:58 -0800
commit11a163f2c7d6a9f27ce144cd7e367a81c851621a (patch)
tree422228c83974b0020d1fd9c68a89dceb75790909 /tools/perf/scripts/python/exported-sql-viewer.py
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
clk: ingenic: Fix divider calculation with div tables
The previous code assumed that a higher hardware value always resulted in a bigger divider, which is correct for the regular clocks, but is an invalid assumption when a divider table is provided for the clock. Perfect example of this is the PLL0_HALF clock, which applies a /2 divider with the hardware value 0, and a /1 divider otherwise. Fixes: a9fa2893fcc6 ("clk: ingenic: Add support for divider tables") Cc: <[email protected]> # 5.2 Signed-off-by: Paul Cercueil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions