diff options
author | Michal Januszewski <spock@gentoo.org> | 2009-04-13 21:39:49 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-13 22:04:29 (GMT) |
commit | c26d7b29d9989cfd9004e688ad517925b0db37d0 (patch) | |
tree | 487c467fe90f2362df0ddf86e97efdbe4a42535a /drivers/net/can | |
parent | f26ec5baa67524b00311b8ec4626efc0a95925e1 (diff) | |
download | linux-fsl-qoriq-c26d7b29d9989cfd9004e688ad517925b0db37d0.tar.xz |
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 <spock@gentoo.org>
Acked-by: Ondrej Zajicek <santiago@crfreenet.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions