summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/displays/panel-tpo-td043mtea1.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/displays/panel-tpo-td043mtea1.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/displays/panel-tpo-td043mtea1.c')
-rw-r--r--drivers/video/omap2/displays/panel-tpo-td043mtea1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
index ecb163e4cfaf..3f47f5f594b4 100644
--- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
+++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
@@ -483,6 +483,8 @@ static void tpo_td043_set_timings(struct omap_dss_device *dssdev,
struct omap_video_timings *timings)
{
omapdss_dpi_set_timings(dssdev, timings);
+
+ dssdev->panel.timings = *timings;
}
static int tpo_td043_check_timings(struct omap_dss_device *dssdev,