From: Krzysztof Helt Date: Tue, 31 Mar 2009 22:25:06 +0000 (-0700) Subject: cirrusfb: do not calculate line length twice X-Git-Tag: v2.6.30-rc1~472 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6683e01e2c950f635a6c0e2bbc80db1b1838311f;p=pandora-kernel.git cirrusfb: do not calculate line length twice A line length is calculated twice: first in the cirrusfb_decode_var() then in the cirrusfb_set_par_foo(). Use the first calculated value. A nice side effect is that 32bpp mode works now. Signed-off-by: Krzysztof Helt Cc: Geert Uytterhoeven Cc: Arthur Marsh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed