summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-10-24 13:27:02 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-12-07 17:05:57 +0200
commit8b09551338dbe1882d3d52dcc5d34ef933adbccf (patch)
treefe7733d3a26d6eecb22726116b428ff74d2af478 /drivers/video/omap2
parentf9b719b6c25c0609c528ccc1e881b42373ba1ba3 (diff)
downloadtalos-op-linux-8b09551338dbe1882d3d52dcc5d34ef933adbccf.tar.gz
talos-op-linux-8b09551338dbe1882d3d52dcc5d34ef933adbccf.zip
OMAPDSS: DPI: use dispc's check_timings
dpi.c uses dss_mgr_check_timings() to verify video timings, but that function is in the compat layer. Change dpi.c to use the dispc's check instead. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2')
-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 d5bc47a4f3ee..6cbcc81991a1 100644
--- a/drivers/video/omap2/dss/dpi.c
+++ b/drivers/video/omap2/dss/dpi.c
@@ -315,7 +315,7 @@ int dpi_check_timings(struct omap_dss_device *dssdev,
unsigned long pck;
struct dispc_clock_info dispc_cinfo;
- if (dss_mgr_check_timings(mgr, timings))
+ if (mgr && !dispc_mgr_timings_ok(mgr->id, timings))
return -EINVAL;
if (timings->pixel_clock == 0)
OpenPOWER on IntegriCloud