Commit c2665c41 authored by Tomi Valkeinen's avatar Tomi Valkeinen

OMAPDSS: handle WB channel in dispc_set/get_channel_out

Add handling of OMAP_DSS_CHANNEL_WB to dispc_ovl_set_channel_out() and
dispc_ovl_get_channel_out().
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent d7df5ad4
...@@ -974,6 +974,10 @@ void dispc_ovl_set_channel_out(enum omap_plane plane, enum omap_channel channel) ...@@ -974,6 +974,10 @@ void dispc_ovl_set_channel_out(enum omap_plane plane, enum omap_channel channel)
return; return;
} }
break; break;
case OMAP_DSS_CHANNEL_WB:
chan = 0;
chan2 = 3;
break;
default: default:
BUG(); BUG();
return; return;
...@@ -1023,6 +1027,8 @@ static enum omap_channel dispc_ovl_get_channel_out(enum omap_plane plane) ...@@ -1023,6 +1027,8 @@ static enum omap_channel dispc_ovl_get_channel_out(enum omap_plane plane)
return OMAP_DSS_CHANNEL_LCD2; return OMAP_DSS_CHANNEL_LCD2;
case 2: case 2:
return OMAP_DSS_CHANNEL_LCD3; return OMAP_DSS_CHANNEL_LCD3;
case 3:
return OMAP_DSS_CHANNEL_WB;
} }
} }
......
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