OMAPDSS: VENC: Maintian copy of video output polarity info in private data
authorArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 06:26:31 +0000 (11:56 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 13:17:52 +0000 (18:47 +0530)
commit89e7195634e563b72288bf13ef4dbdf4709d2d08
tree8f786f5c3510ca8a70725e5c914ec5ad2ae4171c
parentfebe2905d08b238f4ee2eb7e99c402bf85f0f70f
OMAPDSS: VENC: Maintian copy of video output polarity info in private data

The VENC driver currently relies on the omap_dss_device struct to configure the
video output polarity. This makes the VENC interface driver dependent on the
omap_dss_device struct.

Make the VENC driver data maintain it's own polarity field. A panel driver
is expected to call omapdss_venc_invert_vid_out_polarity() before enabling the
interface.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/venc.c
drivers/video/omap2/dss/venc_panel.c