diff options
author | Archit Taneja <archit@ti.com> | 2012-08-16 16:32:00 +0400 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-16 16:32:00 +0400 |
commit | dca2b1522ccab28d03fb79f6e70e70ea78033d52 (patch) | |
tree | 848d7f7596c06264567167980149ee3571a00e1a /drivers/video/omap2/displays | |
parent | 889b4fd7eed2d7c155dc642e15a714f87ab2842c (diff) | |
download | linux-dca2b1522ccab28d03fb79f6e70e70ea78033d52.tar.xz |
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>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index de1dd20644f2..77aed0e51f9b 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c @@ -1063,6 +1063,7 @@ static int taal_power_on(struct omap_dss_device *dssdev) omapdss_dsi_set_size(dssdev, dssdev->panel.timings.x_res, dssdev->panel.timings.y_res); omapdss_dsi_set_pixel_format(dssdev, OMAP_DSS_DSI_FMT_RGB888); + omapdss_dsi_set_operation_mode(dssdev, OMAP_DSS_DSI_CMD_MODE); r = omapdss_dsi_display_enable(dssdev); if (r) { |