aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dpi.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-04-16 03:23:44 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-04-23 03:48:10 -0400
commit8f366162d213f21d9d77560429085033278830c5 (patch)
treee45918b90ba174e58f3ea609e35e7aa34ec67e31 /drivers/video/omap2/dss/dpi.c
parentc51d921a0cd83ecc768de7176bc7b7c2d76db278 (diff)
OMAPDSS: DISPC: Clean up manager timing/size functions
Clean up the DISPC manager timings related function by: - Create a common function to set size for LCD and TV. - Create a common function to check timings for LCD and TV. - Add dss params to get the range of manager size. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dpi.c')
-rw-r--r--drivers/video/omap2/dss/dpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c
index 7dd7f9d25906..cec116684365 100644
--- a/drivers/video/omap2/dss/dpi.c
+++ b/drivers/video/omap2/dss/dpi.c
@@ -312,7 +312,7 @@ int dpi_check_timings(struct omap_dss_device *dssdev,
312 unsigned long pck; 312 unsigned long pck;
313 struct dispc_clock_info dispc_cinfo; 313 struct dispc_clock_info dispc_cinfo;
314 314
315 if (!dispc_lcd_timings_ok(timings)) 315 if (!dispc_mgr_timings_ok(dssdev->manager->id, timings))
316 return -EINVAL; 316 return -EINVAL;
317 317
318 if (timings->pixel_clock == 0) 318 if (timings->pixel_clock == 0)