19 lines
531 B
Diff
19 lines
531 B
Diff
|
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
|
||
|
index ac028c53f..61ef8915f 100644
|
||
|
--- a/drivers/video/s3c-fb.c
|
||
|
+++ b/drivers/video/s3c-fb.c
|
||
|
@@ -508,11 +508,11 @@ static int s3c_fb_check_var(struct fb_var_screeninfo *var,
|
||
|
case 24:
|
||
|
/* our 24bpp is unpacked, so 32bpp */
|
||
|
var->bits_per_pixel = 32;
|
||
|
- var->red.offset = 16;
|
||
|
+ var->red.offset = 0;
|
||
|
var->red.length = 8;
|
||
|
var->green.offset = 8;
|
||
|
var->green.length = 8;
|
||
|
- var->blue.offset = 0;
|
||
|
+ var->blue.offset = 16;
|
||
|
var->blue.length = 8;
|
||
|
break;
|
||
|
|