From: Tomi Valkeinen Date: Wed, 24 Oct 2012 10:27:02 +0000 (+0300) Subject: OMAPDSS: DPI: use dispc's check_timings X-Git-Tag: upstream/snapshot3+hdmi~6053^2^2~7^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b09551338dbe1882d3d52dcc5d34ef933adbccf;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 --- diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index d5bc47a..6cbcc81 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)