diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-04 12:51:32 (GMT) |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-04 13:23:47 (GMT) |
commit | 9ca41bccc39f5ebbbb515dfadb2e0f912168c8bd (patch) | |
tree | 75ecfabaee9931b93deb1dd18fe5ebf582083d45 /security/capability.c | |
parent | 6cc90d6de16532fe68b54ee6967894f7ca83affa (diff) | |
download | linux-fsl-qoriq-9ca41bccc39f5ebbbb515dfadb2e0f912168c8bd.tar.xz |
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 'security/capability.c')
0 files changed, 0 insertions, 0 deletions