From: Michal Januszewski Date: Mon, 13 Apr 2009 21:39:49 +0000 (-0700) Subject: s3fb: fix color component length for pseudocolor modes X-Git-Tag: v2.6.30-rc2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c26d7b29d9989cfd9004e688ad517925b0db37d0;p=pandora-kernel.git s3fb: fix color component length for pseudocolor modes s3fb incorrectly sets the length of the color fields to 6 bits for PSEUDOCOLOR modes, even though 8 or 4 bits are used per pixel. Fix this by setting the length to 8 or 4, respectively. Signed-off-by: Michal Januszewski Acked-by: Ondrej Zajicek Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed