]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6690): saa7134: fix ignored interrupts
authorHeikki Lindholm <holindho@cs.helsinki.fi>
Fri, 30 Nov 2007 16:27:26 +0000 (13:27 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 11 Dec 2007 20:08:18 +0000 (18:08 -0200)
commit843b1378c2ab47ab1ed9cb471938e0f0ec839fcd
tree397ca0c67ee6aeec2efd6dc46eb96955c704ff0c
parent4aa504a89a140f482ddabb45460e0005bf3e522a
V4L/DVB (6690): saa7134: fix ignored interrupts

The saa7134 video driver starts dropping frames when used together with the
saa7134-alsa driver. Frames are dropped because when an audio event is waiting
the driver simply ignores the interrupt and passes it on to the saa7134-alsa
interrupt handler. The alsa interrupt handler in turn acknowledges all types
of events thus clearing the pending video events as well. Fix by only masking
out the audio event in the video interrupt handler and by only acknowledging
the audio event in the alsa driver.

Signed-off-by: Heikki Lindholm <holindho@cs.helsinki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-alsa.c
drivers/media/video/saa7134/saa7134-core.c