]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
OMAP2: DSS: Add missing line for update bg color
authorCarlos Lopez <carlos.cruz@sasken.com>
Sun, 25 Apr 2010 10:53:35 +0000 (12:53 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 18 May 2010 12:06:06 +0000 (15:06 +0300)
The driver set the background color canvas but never writes it in
DISPC_DEFAULT_COLOR_m register, which changes the background color
on the LCD or TV.

This patch adds a line to call to dispc_set_default_color() which is
the function in charge to write the DISPC_DEFAULT_COLOR_m register.

Signed-off-by: Carlos Lopez <carlos.cruz@sasken.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/manager.c

index 32ec2ff2e9cf66f448008825e4fc8dfcbf95fc53..9e1fbe531bf070312ed55ac15560d8e6a1c1ff74 100644 (file)
@@ -843,6 +843,7 @@ static void configure_manager(enum omap_channel channel)
 
        c = &dss_cache.manager_cache[channel];
 
+       dispc_set_default_color(channel, c->default_color);
        dispc_set_trans_key(channel, c->trans_key_type, c->trans_key);
        dispc_enable_trans_key(channel, c->trans_enabled);
        dispc_enable_alpha_blending(channel, c->alpha_enabled);