diff options
author | Stefan Schmidt <stefan@openmoko.org> | 2008-01-22 02:18:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-22 04:39:41 +0100 |
commit | a10336043b8193ec603ad54bb79cdcd26bbf94b3 (patch) | |
tree | 650c025ea276d04301edae2bc8db47565e23cf79 /security/commoncap.c | |
parent | CRIS: add missed local_irq_restore call (diff) | |
download | linux-a10336043b8193ec603ad54bb79cdcd26bbf94b3.tar.xz linux-a10336043b8193ec603ad54bb79cdcd26bbf94b3.zip |
s3c2410_fb: fix line length calculation
Fix line length calculation. var->width is the size of the display in mm. We
like to use the pixel size.
Without this fix, dynamic (fbset) based resolution and depths changes with
s3c2410_fb don't work at all.
Spotted by john cass <johnpcass@yahoo.com>
Signed-off-by: Stefan Schmidt <stefan@openmoko.org>
Signed-off-by: Harald Welte <laforge@openmoko.org>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions