diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-04-30 18:28:47 -0400 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-04-30 18:28:47 -0400 |
commit | ed562ab12733ab75437b3390427d41fce9da83c3 (patch) | |
tree | e306d25a5ad1ad6b22aefbdf8bb5e557cead1e4b /drivers | |
parent | 1ddb8a16aa0e60e7fdc48b1f532cf43e692f8fae (diff) |
[PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/amba-clcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/amba-clcd.c b/drivers/video/amba-clcd.c index 2896a380d4ea..321dbe91dc14 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) | |||
134 | break; | 134 | break; |
135 | case 16: | 135 | case 16: |
136 | var->red.length = 5; | 136 | var->red.length = 5; |
137 | var->green.length = 5; | 137 | var->green.length = 6; |
138 | var->blue.length = 5; | 138 | var->blue.length = 5; |
139 | if (fb->panel->cntl & CNTL_BGR) { | 139 | if (fb->panel->cntl & CNTL_BGR) { |
140 | var->red.offset = 10; | 140 | var->red.offset = 11; |
141 | var->green.offset = 5; | 141 | var->green.offset = 5; |
142 | var->blue.offset = 0; | 142 | var->blue.offset = 0; |
143 | } else { | 143 | } else { |
144 | var->red.offset = 0; | 144 | var->red.offset = 0; |
145 | var->green.offset = 5; | 145 | var->green.offset = 5; |
146 | var->blue.offset = 10; | 146 | var->blue.offset = 11; |
147 | } | 147 | } |
148 | break; | 148 | break; |
149 | case 32: | 149 | case 32: |