diff options
author | Archit Taneja <archit@ti.com> | 2012-04-16 12:53:44 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-04-23 10:48:10 +0300 |
commit | 8f366162d213f21d9d77560429085033278830c5 (patch) | |
tree | e45918b90ba174e58f3ea609e35e7aa34ec67e31 /drivers/video/omap2/dss/dpi.c | |
parent | c51d921a0cd83ecc768de7176bc7b7c2d76db278 (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.c | 2 |
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, unsigned long pck; struct dispc_clock_info dispc_cinfo; - if (!dispc_lcd_timings_ok(timings)) + if (!dispc_mgr_timings_ok(dssdev->manager->id, timings)) return -EINVAL; if (timings->pixel_clock == 0) |