Commit e10a75b4 authored by Jonathan McDowell's avatar Jonathan McDowell Committed by Tony Lindgren

[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: default avatarJonathan McDowell <noodles@earth.li>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent c24d0005
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment