Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112352
b: refs/heads/master
c: fbd03a1
h: refs/heads/master
v: v3
  • Loading branch information
Guillaume GARDET authored and Russell King committed Sep 18, 2008
1 parent febc416 commit 01896e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53d4351f5868c7d3faa9507608c324ff7d7c186c
refs/heads/master: fbd03a1cbc04833a952b0d603df96e4800445979
4 changes: 4 additions & 0 deletions trunk/drivers/video/atmel_lcdfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ static int atmel_lcdfb_check_var(struct fb_var_screeninfo *var,
var->red.offset = 11;
var->blue.offset = 0;
var->green.length = 6;
} else if (sinfo->lcd_wiring_mode == ATMEL_LCDC_WIRING_RGB555) {
var->red.offset = 10;
var->blue.offset = 0;
var->green.length = 5;
} else {
/* BGR:555 mode */
var->red.offset = 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/video/atmel_lcdc.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
*/
#define ATMEL_LCDC_WIRING_BGR 0
#define ATMEL_LCDC_WIRING_RGB 1
#define ATMEL_LCDC_WIRING_RGB555 2


/* LCD Controller info data structure, stored in device platform_data */
Expand Down

0 comments on commit 01896e2

Please sign in to comment.