summaryrefslogtreecommitdiffstats
path: root/fs/sync.c
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2009-04-13 14:39:49 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 15:04:29 -0700
commitc26d7b29d9989cfd9004e688ad517925b0db37d0 (patch)
tree487c467fe90f2362df0ddf86e97efdbe4a42535a /fs/sync.c
parentf26ec5baa67524b00311b8ec4626efc0a95925e1 (diff)
downloadblackbird-op-linux-c26d7b29d9989cfd9004e688ad517925b0db37d0.tar.gz
blackbird-op-linux-c26d7b29d9989cfd9004e688ad517925b0db37d0.zip
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 'fs/sync.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud