summaryrefslogtreecommitdiffstats
path: root/drivers/video/neofb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-08 00:37:31 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 11:15:26 -0700
commit41988d6e601fc6addef40421c57763a846d8ab1c (patch)
tree5adc9539c6975b2c7434d20a3b0dfce7d4fa69d1 /drivers/video/neofb.c
parentc4270637ff379163d22721b897f0dc5592794c68 (diff)
downloadblackbird-op-linux-41988d6e601fc6addef40421c57763a846d8ab1c.tar.gz
blackbird-op-linux-41988d6e601fc6addef40421c57763a846d8ab1c.zip
neofb: fill transp->msb_right with the correct value
Fill transp->msb_right with the correct value. fbcon ignores this, but user apps may not. Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/neofb.c')
-rw-r--r--drivers/video/neofb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/neofb.c b/drivers/video/neofb.c
index 395ccedde9a6..bd30aba242d0 100644
--- a/drivers/video/neofb.c
+++ b/drivers/video/neofb.c
@@ -665,6 +665,7 @@ neofb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
var->red.msb_right = 0;
var->green.msb_right = 0;
var->blue.msb_right = 0;
+ var->transp.msb_right = 0;
switch (var->bits_per_pixel) {
case 8: /* PSEUDOCOLOUR, 256 */
OpenPOWER on IntegriCloud