From: Catalin Marinas Date: Thu, 16 Jun 2005 17:01:11 +0000 (+0100) Subject: [PATCH] ARM: 2712/1: Fix the RGB order for the Versatile CLCD X-Git-Tag: v2.6.12~5^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=90ef713b6368dcfe7a74bcc0026b998b4c44d5bc;p=linux-2.6-omap-h63xx.git [PATCH] ARM: 2712/1: Fix the RGB order for the Versatile CLCD Patch from Catalin Marinas The current red and blue colours on the Versatile CLCD are reversed when the 5:6:5 mode is used. The patch sets the proper bit in the SYS_CLCD register value. Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c index 554e1bd30d6..302c2a7b9b6 100644 --- a/arch/arm/mach-versatile/core.c +++ b/arch/arm/mach-versatile/core.c @@ -543,7 +543,7 @@ static void versatile_clcd_enable(struct clcd_fb *fb) val |= SYS_CLCD_MODE_5551; break; case 6: - val |= SYS_CLCD_MODE_565_BLSB; + val |= SYS_CLCD_MODE_565_RLSB; break; case 8: val |= SYS_CLCD_MODE_888;