Stefan Schmidt a10336043b 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>
2008-01-21 19:39:41 -08:00
..
2007-10-18 14:37:17 -07:00
2007-10-16 09:43:14 -07:00
2007-10-19 11:53:42 -07:00
2007-11-14 18:45:38 -08:00
2007-10-19 23:22:11 +02:00
2007-07-31 15:39:39 -07:00
2005-04-16 15:20:36 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-05-04 17:59:05 -07:00
2007-10-18 14:37:17 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-10-13 21:53:08 -07:00
2007-07-26 11:35:18 -07:00
2007-10-27 22:18:12 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-11-29 09:24:52 -08:00
2007-05-08 11:15:26 -07:00
2007-10-13 21:53:08 -07:00
2007-11-14 18:45:42 -08:00
2007-10-16 09:43:20 -07:00
2008-01-11 11:47:43 -08:00
2006-01-17 15:53:11 -08:00
2007-10-16 09:43:14 -07:00
2007-10-16 09:43:22 -07:00
2007-10-16 09:43:19 -07:00
2005-04-16 15:20:36 -07:00
2007-10-16 09:43:18 -07:00
2007-05-08 11:15:32 -07:00
2007-07-17 10:23:13 -07:00
2007-05-23 20:14:13 -07:00
2007-10-14 08:56:33 -07:00