diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-10-24 06:27:02 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-12-07 10:05:57 -0500 |
commit | 8b09551338dbe1882d3d52dcc5d34ef933adbccf (patch) | |
tree | fe7733d3a26d6eecb22726116b428ff74d2af478 /drivers/video/omap2/dss | |
parent | f9b719b6c25c0609c528ccc1e881b42373ba1ba3 (diff) |
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/dss')
-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 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, | |||
315 | unsigned long pck; | 315 | unsigned long pck; |
316 | struct dispc_clock_info dispc_cinfo; | 316 | struct dispc_clock_info dispc_cinfo; |
317 | 317 | ||
318 | if (dss_mgr_check_timings(mgr, timings)) | 318 | if (mgr && !dispc_mgr_timings_ok(mgr->id, timings)) |
319 | return -EINVAL; | 319 | return -EINVAL; |
320 | 320 | ||
321 | if (timings->pixel_clock == 0) | 321 | if (timings->pixel_clock == 0) |