From: Michal Januszewski Date: Mon, 13 Apr 2009 21:39:43 +0000 (-0700) Subject: uvesafb: fix color component length for pseudocolor modes X-Git-Tag: v2.6.30-rc2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca1071f7dbd673de826eb3fb01bfdfd1d423433;p=pandora-kernel.git uvesafb: fix color component length for pseudocolor modes uvesafb incorrectly sets the length of the color fields to 6 bits for PSEUDOCOLOR modes, even though 8 bits are always used per pixel. Fix this by setting the length to 8. The switch of the DAC width from the default 6 bits to 8 bits is retained and tracked internally in the driver, but never exposed to userspace. Signed-off-by: Michal Januszewski Acked-by: Krzysztof Helt Cc: Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed