[media] v4l: s5p-tv: mixer: fix handling of interlaced modes
authorTomasz Stanislawski <t.stanislaws@samsung.com>
Fri, 9 Mar 2012 13:49:58 +0000 (10:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 12:02:28 +0000 (09:02 -0300)
commitef6a6ddc4d084774bac14df8b8867a42739cf142
tree7bddb1bc1970c97ac8b3cb8dea2c7168939c175c
parent2fd07a4a9e0d34fc53443601781ae58b2e8f1649
[media] v4l: s5p-tv: mixer: fix handling of interlaced modes

The next frame was fetched by Mixer at every VSYNC event.  This caused tearing
when Mixer's output in interlaced mode.  This patch fixes this bug by fetching
new frame every second VSYNC when working in interlaced mode.

Signed-off-by: Tomasz Stanislawski <t.stanislaws@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-tv/mixer.h
drivers/media/video/s5p-tv/mixer_reg.c