Skip to content
Commit a1033604 authored by Stefan Schmidt's avatar Stefan Schmidt Committed by Linus Torvalds
Browse files

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: default avatarStefan Schmidt <stefan@openmoko.org>
Signed-off-by: default avatarHarald Welte <laforge@openmoko.org>
Acked-by: default avatarBen Dooks <ben-linux@fluff.org>
Acked-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: default avatarKrzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@akpm@linux-foundation.org>
parent a56d00bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment