]> git.baikalelectronics.ru Git - kernel.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)
commitb9eff6f4d82369ca830542423bcbec78db63e0e7
tree848d7f7596c06264567167980149ee3571a00e1a
parent820ef251b2814d263d94a3f7eebd9425df97e99d
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