OMAPDSS: APPLY: remove dssdev from dss_mgr_wait_for_vsync
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 15 Feb 2013 12:24:38 +0000 (14:24 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:00 +0000 (15:19 +0300)
commit346f1e0772cbd087f176fd3e09ffa5a4569812e6
tree29a10d6a52154e5e24441ebd5cfa77e070dac3d8
parente087cc21c6d23d27951d45289a096b825326d3e2
OMAPDSS: APPLY: remove dssdev from dss_mgr_wait_for_vsync

dss_mgr_wait_for_vsync() uses dssdev->type to find out if the output is
going to VENC, HDMI, or something else. This creates a dependency on
dssdev, which we want to remove. The task is more logically done by
looking at the output to which the overlay manager in question is
connected to.

This patch changes the code to use output->id to find out which kind of
output we use.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/apply.c