summaryrefslogtreecommitdiffstats
path: root/drivers/atm
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2009-04-13 23:39:43 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-14 00:04:29 +0200
commit0ca1071f7dbd673de826eb3fb01bfdfd1d423433 (patch)
treebb60620604449f357ae7d099395b20199bc96197 /drivers/atm
parentfbdev: fix color component field length documentation (diff)
downloadlinux-0ca1071f7dbd673de826eb3fb01bfdfd1d423433.tar.xz
linux-0ca1071f7dbd673de826eb3fb01bfdfd1d423433.zip
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 <spock@gentoo.org> Acked-by: Krzysztof Helt <krzysztof.h1@poczta.fm> Cc: <syrjala@sci.fi> Cc: Geert Uytterhoeven <geert.uytterhoeven@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions