David Winn
08650869e0
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>
2008-10-02 15:53:13 -07:00
..
2008-08-12 16:07:28 -07:00
2008-08-07 09:55:48 +01:00
2008-10-02 15:53:13 -07:00
2008-05-20 13:31:53 -07:00
2008-07-24 10:47:40 -07:00
2008-03-19 18:53:36 -07:00
2008-07-14 22:38:28 +02:00
2008-05-14 19:11:14 -07:00
2008-08-12 16:07:29 -07:00
2008-03-10 18:01:20 -07:00
2008-04-28 08:58:42 -07:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:38 -07:00
2008-07-24 10:47:37 -07:00
2008-08-23 12:14:12 -07:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-07-24 10:47:40 -07:00
2008-08-23 12:14:12 -07:00
2008-07-24 10:47:37 -07:00
2008-09-13 14:41:52 -07:00
2008-08-27 10:51:02 +08:00
2008-07-24 10:47:40 -07:00
2008-05-08 21:37:30 -07:00
2008-07-20 17:24:39 -07:00
2008-07-24 10:47:34 -07:00
2008-07-24 10:47:34 -07:00
2008-07-24 10:47:34 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:42 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-02-23 10:40:04 -08:00
2008-09-02 19:21:38 -07:00
2008-08-07 09:55:48 +01:00
2008-07-24 10:47:40 -07:00
2008-08-07 09:55:48 +01:00
2008-05-18 13:28:49 -07:00
2008-08-07 09:55:48 +01:00
2008-07-14 22:38:28 +02:00
2008-08-20 15:40:32 -07:00
2008-04-28 08:58:35 -07:00
2008-08-20 15:40:32 -07:00
2008-07-24 10:47:39 -07:00
2008-05-08 21:37:30 -07:00
2008-08-15 08:35:43 -07:00
2008-04-28 08:58:40 -07:00
2008-07-30 09:41:47 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:41 -07:00
2008-07-24 10:47:39 -07:00
2008-07-30 02:16:12 +09:00
2008-05-18 13:28:50 -07:00
2008-04-28 08:58:42 -07:00
2008-08-07 09:55:48 +01:00
2008-07-24 10:47:41 -07:00
2008-06-10 14:13:09 -07:00
2008-07-26 12:00:12 -07:00
2008-07-29 06:39:26 +09:00
2008-04-29 08:06:28 -07:00
2008-06-06 11:29:12 -07:00
2008-04-28 08:58:41 -07:00
2008-07-24 10:47:41 -07:00
2008-07-22 10:39:36 +10:00
2008-05-08 21:37:30 -07:00
2008-06-09 13:46:38 +10:00
2008-08-20 15:40:31 -07:00
2008-04-28 08:58:42 -07:00
2008-07-22 10:39:33 +10:00
2008-07-29 22:10:01 +09:00
2008-08-16 16:39:16 +01:00
2008-07-24 10:47:37 -07:00
2008-08-07 09:55:48 +01:00
2008-05-24 09:56:13 -07:00
2008-08-23 12:14:12 -07:00
2008-08-07 09:55:48 +01:00
2008-07-24 10:47:37 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-07-10 18:55:40 +02:00
2008-07-28 16:30:21 -07:00
2008-08-11 20:17:55 +09:00
2008-07-24 10:47:39 -07:00
2008-07-24 10:47:40 -07:00
2008-04-28 08:58:42 -07:00
2008-07-26 12:00:12 -07:00
2008-07-26 12:00:12 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:42 -07:00
2008-05-08 21:37:30 -07:00
2008-09-02 19:21:39 -07:00
2008-07-24 10:47:36 -07:00
2008-07-24 10:47:37 -07:00
2008-07-24 10:47:39 -07:00
2008-07-24 10:47:38 -07:00
2008-08-23 12:14:12 -07:00
2008-07-04 10:40:08 -07:00
2008-05-27 10:11:36 +02:00
2008-08-23 12:14:12 -07:00