]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: omapfb: Fix 444 mode after recent LCD changes
authorJonathan McDowell <noodles@earth.li>
Fri, 4 Aug 2006 10:44:26 +0000 (13:44 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 4 Aug 2006 10:44:26 +0000 (13:44 +0300)
The recent changes to the LCD driver have broken the 444 mode (where a
12 bit panel is driven from 16 bits in memory). This one liner fixes it
for me.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/video/omap/omapfb_main.c

index b4236765bdb514a3fd71c37cf8a1c3a87a5639f7..29440b0444eda3fbe0ddb8b670f077381c69073e 100644 (file)
@@ -420,6 +420,7 @@ static int set_color_mode(struct omapfb_plane_struct *plane,
                plane->color_mode = OMAPFB_COLOR_CLUT_8BPP;
                return 0;
        case 12:
+               var->bits_per_pixel = 16;
                plane->color_mode = OMAPFB_COLOR_RGB444;
                return 0;
        case 16: