]> 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)
commit7d721b640a8354b1b98c7f84b8e469762cfb6618
tree29a10d6a52154e5e24441ebd5cfa77e070dac3d8
parent18b538d88e7036a31698ad026736f2e92bacad73
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