]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9166): ivtv - Fix potential race condition in yuv handler
authorIan Armstrong <ian@iarmst.demon.co.uk>
Thu, 9 Oct 2008 15:04:23 +0000 (12:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Oct 2008 11:08:30 +0000 (09:08 -0200)
commit2bd7ac55c31cb4f42e331d69dde9fc034a68944f
treec2547fc93abd5e35a33ed6876faa3b3d724f4c23
parentec9faa1cfac1dd64a2a865dc7c577f3d483656bd
V4L/DVB (9166): ivtv - Fix potential race condition in yuv handler

Modified yuv register update handling to remove a potential race condition
which could occur with the first video frame.

Also removed a forced yuv position update, since changing the source video
dimensions or interlace settings doesn't affect the frame already being
displayed.

Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-driver.h
drivers/media/video/ivtv/ivtv-ioctl.c
drivers/media/video/ivtv/ivtv-irq.c
drivers/media/video/ivtv/ivtv-yuv.c