]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: explicitely initialize dssdev->channel for new displays
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 7 Sep 2012 12:21:36 +0000 (15:21 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 18 Sep 2012 13:15:03 +0000 (16:15 +0300)
commitfd3f95d215f589f834149f1a20aa91bc83716253
treef6ca667ec088ee1c0c16fbb86ee104c161bffc1b
parent09c8350d261cb7b2a751e7de80526df44d8b8c2f
OMAPDSS: explicitely initialize dssdev->channel for new displays

HDMI and VENC outputs always use the DIGIT output from DISPC. The dssdev
struct contains "channel" field which is used to specify the DISPC
output for the display, but this was not used for HDMI and VENC.

This patch fills the channel field explicitely for HDMI and VENC
displays so that we can always rely on the channel field.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/venc.c