OMAPDSS: MANAGER: Create a function to check manager timings
authorArchit Taneja <archit@ti.com>
Thu, 26 Apr 2012 19:37:28 +0000 (01:07 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 10:44:07 +0000 (13:44 +0300)
commitb917fa3961448903f4ee823917194bdf20709fbd
treef243fc3c8b20b1ea50071e96081e437a99890098
parent4172116385ede7abcfbbcc6eb6b7133385695001
OMAPDSS: MANAGER: Create a function to check manager timings

Create a function dss_mgr_check_timings() which wraps around the function
dispc_mgr_timings_ok(). This is mainly a clean up to hide dispc functions
from interface drivers.

dss_mgr_check_timings() is added in the function dss_mgr_check(), it currently
takes the timings maintained in the omap_dss_device struct. This would be later
replaced by the timings stored in the manager's private data.

Make dss_mgr_check_timings() and dispc_mgr_timings_ok() take a const
omap_video_timings pointer since these functions just check the timings.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/manager.c