diff options
author | 2012-06-04 14:51:32 +0200 | |
---|---|---|
committer | 2012-06-04 15:23:47 +0200 | |
commit | 9ca41bccc39f5ebbbb515dfadb2e0f912168c8bd (patch) | |
tree | 75ecfabaee9931b93deb1dd18fe5ebf582083d45 /tools/perf/scripts/python | |
parent | ARM i.MX pllv2: use standard register set unconditionally (diff) | |
download | linux-dev-9ca41bccc39f5ebbbb515dfadb2e0f912168c8bd.tar.xz linux-dev-9ca41bccc39f5ebbbb515dfadb2e0f912168c8bd.zip |
ARM i.MX pllv2: make round_rate accurate
in round_rate we made the assumption that we can set arbitrary
frequencies and thus returned the input rate. This is not correct,
for certain frequencies after setting a frequency with set_rate,
recalc_rate will return different values. To fix this, introduce
set_rate/recalc_rate functions which work on variables instead
of registers directly. This way we can call these in round_rate
to get the exact rate which we would get if we call set_rate
with this value.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions