OSDN Git Service

OMAP: DSS2: DSI: Represent L4 and VP as sources of VC instead of modes
authorArchit Taneja <archit@ti.com>
Mon, 22 Aug 2011 06:28:08 +0000 (11:58 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2011 13:16:26 +0000 (16:16 +0300)
commitd604914484ccaaf33361558c9eb2abb441cf9d25
treee98edb81093cc8d1c8e873555ceaee724c17e55c
parent7a7c48f9ab374f5fb279f31634d857adc3f0c78c
OMAP: DSS2: DSI: Represent L4 and VP as sources of VC instead of modes

The enum type dsi_vc_mode is a bit misleading as L4 slave port and video port
are sources to VC rather than the mode of operation. Rename then enum type and
its members. Merge dsi_vc_config_vp() and dsi_vc_config_l4() into a single
function called dsi_vc_config_source() which takes dsi_vc_source enum as an
extra argument.

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c