From: Antonino A. Daplas Date: Tue, 8 May 2007 07:37:31 +0000 (-0700) Subject: neofb: fill transp->msb_right with the correct value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=41988d6e601fc6addef40421c57763a846d8ab1c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 */