aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorBen Dooks <[email protected]>2009-09-22 16:47:43 -0700
committerLinus Torvalds <[email protected]>2009-09-23 07:39:56 -0700
commit360fa58828784f307c3977d5ff4c8e400f074a56 (patch)
tree5909f2f112ca2d160cbf5f65ac6776e5f0fd84b5 /scripts/basic/docproc.c
parent9a4a83d2ed83da0c4b45289ca72f10205aa96589 (diff)
s3c2410fb: fix clockrate calculation
In the final part of the calculation for the tft display clockrate we divide the output pf s3c2410fb_calc_pixclk() by 2 which leaves us with a rounding error if the result is odd. Change to using DIV_ROUND_UP() to ensure that we always choose a higher divisor and thus a lower frequency. Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions