projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c427063
)
neofb: fill transp->msb_right with the correct value
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 8 May 2007 07:37:31 +0000
(
00:37
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:26 +0000
(11:15 -0700)
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>
drivers/video/neofb.c
patch
|
blob
|
history
diff --git
a/drivers/video/neofb.c
b/drivers/video/neofb.c
index 395ccedde9a63b5718afdefb34d3f3c4f7235db8..bd30aba242d07643722ef8d58aa1870128a3bec3 100644
(file)
--- 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 */