]> git.openfabrics.org - ~emulex/infiniband.git/commit
OMAPDSS: DSI: Maintain copy of operation mode in driver data
authorArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:32:00 +0000 (18:02 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:32:00 +0000 (18:02 +0530)
commitdca2b1522ccab28d03fb79f6e70e70ea78033d52
tree848d7f7596c06264567167980149ee3571a00e1a
parent889b4fd7eed2d7c155dc642e15a714f87ab2842c
OMAPDSS: DSI: Maintain copy of operation mode in driver data

The DSI driver currently relies on the omap_dss_device struct to know the mode
of operation of the DSI protocol(command or video mode). This makes the DSI
interface driver dependent on the omap_dss_device struct.

Make the DSI driver data maintain it's own operation mode field. The panel
driver is expected to call omapdss_dsi_set_operation_mode() before the interface
is enabled.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/displays/panel-taal.c
drivers/video/omap2/dss/dsi.c
include/video/omapdss.h