Skip to content

Commit

Permalink
OMAP2: DSS: Add missing line for update bg color
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Carlos Lopez authored and Tomi Valkeinen committed May 18, 2010
1 parent ac01bb7 commit a3bb67a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/omap2/dss/manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a3bb67a

Please sign in to comment.