aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays/panel-generic-dpi.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-08-08 04:59:48 -0400
committerArchit Taneja <archit@ti.com>2012-08-13 06:14:39 -0400
commitbdcae3cc39e8232eca81504a2ff9c60f4cc8f22d (patch)
treee48c207700a34d269cfab349e7ff30ab51aaf2b5 /drivers/video/omap2/displays/panel-generic-dpi.c
parentc499144c3b69a657b5dfd707b35871e066fabd3a (diff)
OMAPDSS: DPI displays: Take care of panel timings in the driver itself
The timings maintained in omap_dss_device(dssdev->panel.timings) should be maintained by the panel driver itself. It's the panel drivers responsibility to update it if a new set of timings is to be configured. The DPI interface driver shouldn't be responsible of updating the panel timings, it's responsible of maintianing it's own copy of timings. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays/panel-generic-dpi.c')
-rw-r--r--drivers/video/omap2/displays/panel-generic-dpi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
index 8d4e102bb0e..a07e18c8f71 100644
--- a/drivers/video/omap2/displays/panel-generic-dpi.c
+++ b/drivers/video/omap2/displays/panel-generic-dpi.c
@@ -730,6 +730,8 @@ static void generic_dpi_panel_set_timings(struct omap_dss_device *dssdev,
730 730
731 omapdss_dpi_set_timings(dssdev, timings); 731 omapdss_dpi_set_timings(dssdev, timings);
732 732
733 dssdev->panel.timings = *timings;
734
733 mutex_unlock(&drv_data->lock); 735 mutex_unlock(&drv_data->lock);
734} 736}
735 737