diff options
author | Michal Januszewski <spock@gentoo.org> | 2009-04-13 14:39:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-13 15:04:30 -0700 |
commit | 811a201374b10d60662504f9ea533e03914fdb27 (patch) | |
tree | d9e4f0a4d2fda87657d55b0c4e70820a95ed772f /samples | |
parent | 0a4534801468325fdb6a7b7bf73ad2a958a1e379 (diff) | |
download | linux-811a201374b10d60662504f9ea533e03914fdb27.tar.bz2 |
sisfb: fix color component length for pseudocolor modes
sisfb 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.
Signed-off-by: Michal Januszewski <spock@gentoo.org>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions