diff options
| author | Nicolas Ferre <[email protected]> | 2008-05-12 21:02:25 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-05-13 15:02:25 +0000 |
| commit | baf6332a238a680ef3add9cfb0729f136da886b8 (patch) | |
| tree | 77c68ca03f0808f0f30778d25ef2916edd7a5ac5 /lib/bitmap.c | |
| parent | rtc: rtc_time_to_tm: use unsigned arithmetic (diff) | |
| download | kernel-baf6332a238a680ef3add9cfb0729f136da886b8.tar.gz kernel-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.
[[email protected]: coding-style fixes]
Signed-off-by: Nicolas Ferre <[email protected]>
Cc: Per Hedblom <[email protected]>
Cc: Roel Kluin <[email protected]>
Cc: Jan Weber <[email protected]>
Cc: Andrew Victor <[email protected]>
Cc: Haavard Skinnemoen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
