summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-30 23:28:47 +0100
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-04-30 23:28:47 +0100
commited562ab12733ab75437b3390427d41fce9da83c3 (patch)
treee306d25a5ad1ad6b22aefbdf8bb5e557cead1e4b /drivers/video
parent1ddb8a16aa0e60e7fdc48b1f532cf43e692f8fae (diff)
downloadop-kernel-dev-ed562ab12733ab75437b3390427d41fce9da83c3.zip
op-kernel-dev-ed562ab12733ab75437b3390427d41fce9da83c3.tar.gz
[PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/amba-clcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/amba-clcd.c b/drivers/video/amba-clcd.c
index 2896a38..321dbe9 100644
--- a/drivers/video/amba-clcd.c
+++ b/drivers/video/amba-clcd.c
@@ -134,16 +134,16 @@ clcdfb_set_bitfields(struct clcd_fb *fb, struct fb_var_screeninfo *var)
break;
case 16:
var->red.length = 5;
- var->green.length = 5;
+ var->green.length = 6;
var->blue.length = 5;
if (fb->panel->cntl & CNTL_BGR) {
- var->red.offset = 10;
+ var->red.offset = 11;
var->green.offset = 5;
var->blue.offset = 0;
} else {
var->red.offset = 0;
var->green.offset = 5;
- var->blue.offset = 10;
+ var->blue.offset = 11;
}
break;
case 32:
OpenPOWER on IntegriCloud