summaryrefslogtreecommitdiff
path: root/drivers/video/sis/sis_main.c
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2009-04-13 14:39:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 15:04:29 -0700
commit0a4534801468325fdb6a7b7bf73ad2a958a1e379 (patch)
treef2809286876627f9b2f68449cc3623eab280b347 /drivers/video/sis/sis_main.c
parentc26d7b29d9989cfd9004e688ad517925b0db37d0 (diff)
sa1100fb: fix color component length for pseudocolor modes
sa1100fb incorrectly sets the length of the color fields to 8 bits for PSEUDOCOLOR modes for which only 4 bits are used per pixel. Fix this by setting the length to 4 bits for these modes. Signed-off-by: Michal Januszewski <spock@gentoo.org> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/sis/sis_main.c')
0 files changed, 0 insertions, 0 deletions