From e10a75b49e7a57ae17c28b705153c70eba15a8ef Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Fri, 4 Aug 2006 13:44:26 +0300 Subject: [PATCH] [PATCH] ARM: OMAP: omapfb: Fix 444 mode after recent LCD changes 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 Signed-off-by: Tony Lindgren --- drivers/video/omap/omapfb_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index b4236765bdb..29440b0444e 100644 --- a/drivers/video/omap/omapfb_main.c +++ b/drivers/video/omap/omapfb_main.c @@ -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: -- 2.41.1