]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L: ivtv: fix DMA timeout when capturing VBI + another stream
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 24 Jul 2007 12:07:33 +0000 (08:07 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:31 +0000 (14:27 -0700)
commit53a8e6e303cd55242bdfc5a1c898d21ce2805ac7
treea63df8db9b45719bb15175b34684b0de587e1f97
parent77157ba22f856f303d243d0093a88bac469c7a9c
V4L: ivtv: fix DMA timeout when capturing VBI + another stream

The VBI DMA is handled in a special way and is marked with a bit.
However, that bit was set at the wrong time and could be cleared
by mistake if a PCM (or other) DMA request would arrive before the
VBI DMA was completed. So on completion of the VBI DMA the driver
no longer knew that that DMA transfer was for VBI data. And this
in turn caused havoc with the card's DMA engine.

(cherry picked from commit dd1e729d63f74a0b6290ca417bafd3fd8665db50)

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/ivtv/ivtv-irq.c