summaryrefslogtreecommitdiffstats
path: root/drivers/video/clps711xfb.c
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2008-05-12 23:02:25 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-13 17:02:25 +0200
commitbaf6332a238a680ef3add9cfb0729f136da886b8 (patch)
tree77c68ca03f0808f0f30778d25ef2916edd7a5ac5 /drivers/video/clps711xfb.c
parentrtc: rtc_time_to_tm: use unsigned arithmetic (diff)
downloadlinux-baf6332a238a680ef3add9cfb0729f136da886b8.tar.xz
linux-baf6332a238a680ef3add9cfb0729f136da886b8.zip
atmel_lcdfb: fix pixclock divider calculation
Fix divider calculation and allow CLKVAL = 0 (divisor 2) It was not possible to get the clock value 0 (divisor 2) because the test "<=0" force the BYPASS bit to be activated instead. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Per Hedblom <per.hedblom@abem.se> Cc: Roel Kluin <12o3l@tiscali.nl> Cc: Jan Weber <jw022609@uni-greifswald.de> Cc: Andrew Victor <linux@maxim.org.za> Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/clps711xfb.c')
0 files changed, 0 insertions, 0 deletions