summaryrefslogtreecommitdiff
path: root/Documentation/cris
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-06-04 12:51:32 (GMT)
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-04 13:23:47 (GMT)
commit9ca41bccc39f5ebbbb515dfadb2e0f912168c8bd (patch)
tree75ecfabaee9931b93deb1dd18fe5ebf582083d45 /Documentation/cris
parent6cc90d6de16532fe68b54ee6967894f7ca83affa (diff)
downloadlinux-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 'Documentation/cris')
0 files changed, 0 insertions, 0 deletions