summaryrefslogtreecommitdiffstats
path: root/firmware/emi62
diff options
context:
space:
mode:
authorDavid Winn <q-newsgroup@qypea.com>2008-10-02 23:50:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-03 00:53:13 +0200
commit08650869e0ec581f8d88cfdb563d37f5383abfe2 (patch)
tree0698a09e45bf4e9c814dd0b5fef71f7424853c6c /firmware/emi62
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiw... (diff)
downloadlinux-08650869e0ec581f8d88cfdb563d37f5383abfe2.tar.xz
linux-08650869e0ec581f8d88cfdb563d37f5383abfe2.zip
fbcon: fix monochrome color value calculation
Commit 22af89aa0c0b4012a7431114a340efd3665a7617 ("fbcon: replace mono_col macro with static inline") changed the order of operations for computing monochrome color values. This generates 0xffff000f instead of 0x0000000f for a 4 bit monochrome color, leading to image corruption if it is passed to cfb_imageblit or other similar functions. Fix it up. Cc: Harvey Harrison <harvey.harrison@gmail.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Cc: <stable@kernel.org> [2.6.26.x] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware/emi62')
0 files changed, 0 insertions, 0 deletions