OMAPDSS: VENC: Maintain copy of venc type in driver data
authorArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 06:25:15 +0000 (11:55 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:40:17 +0000 (18:10 +0530)
The VENC driver currently relies on the omap_dss_device struct to configure the
venc type. This makes the VENC interface driver dependent on the omap_dss_device
struct.

Make the VENC driver data maintain it's own 'venc type' field. A panel driver
is expected to call omapdss_venc_set_type() before enabling the interface or
changing the type via display sysfs attributes.

Signed-off-by: Archit Taneja <archit@ti.com>

No differences found