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)
commitfebe2905d08b238f4ee2eb7e99c402bf85f0f70f
treef3f51e80ff2695550ccc7ae203d447c9979c6817
parent6e883324b2ef9971ec208da2bf2f49268c36f2bb
OMAPDSS: VENC: Maintain copy of venc type in driver data

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>
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/venc.c
drivers/video/omap2/dss/venc_panel.c