]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit030f14dde1f2a46bee77e4ca8960b890b283b280
tree29a10d6a52154e5e24441ebd5cfa77e070dac3d8
parent8f79f45ea3937a616694cf059f9607d59dc07d8a
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