summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dpi.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-08-08 10:59:48 +0200
committerArchit Taneja <archit@ti.com>2012-08-13 12:14:39 +0200
commitbdcae3cc39e8232eca81504a2ff9c60f4cc8f22d (patch)
treee48c207700a34d269cfab349e7ff30ab51aaf2b5 /drivers/video/omap2/dss/dpi.c
parentOMAPDSS: DPI: Maintain our own timings field in driver data (diff)
downloadlinux-bdcae3cc39e8232eca81504a2ff9c60f4cc8f22d.tar.xz
linux-bdcae3cc39e8232eca81504a2ff9c60f4cc8f22d.zip
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/dss/dpi.c')
-rw-r--r--drivers/video/omap2/dss/dpi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c
index 97c7a10bc9ff..d561a9198a8d 100644
--- a/drivers/video/omap2/dss/dpi.c
+++ b/drivers/video/omap2/dss/dpi.c
@@ -283,7 +283,6 @@ void omapdss_dpi_set_timings(struct omap_dss_device *dssdev,
mutex_lock(&dpi.lock);
dpi.timings = *timings;
- dssdev->panel.timings = *timings;
if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) {
r = dispc_runtime_get();