summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-core.c
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2007-09-27 20:44:39 -0300
committerMaxim Levitsky <maximlevitsky@gmail.com>2007-09-27 20:44:39 -0300
commita823311c70fb2d7b186f58d06a52e834c55fb31c (patch)
tree29b6af2811c1645a2c4e07eff5afeb888e3099c7 /linux/drivers/media/video/saa7134/saa7134-core.c
parentd4bc604fb5f8b0f5a697da837887f85e07e403b4 (diff)
downloadmediapointer-dvb-s2-a823311c70fb2d7b186f58d06a52e834c55fb31c.tar.gz
mediapointer-dvb-s2-a823311c70fb2d7b186f58d06a52e834c55fb31c.tar.bz2
V4L: properly fix support for capturing interlaced video in saa7134
By "capturing interlaced video" I mean that card ensures that top field is really top and vice versa (I think it takes the filed ID from signal) Properly turn on/off that support depending on signal state Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-core.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-core.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-core.c b/linux/drivers/media/video/saa7134/saa7134-core.c
index 009cabd3b..de9112dc7 100644
--- a/linux/drivers/media/video/saa7134/saa7134-core.c
+++ b/linux/drivers/media/video/saa7134/saa7134-core.c
@@ -684,8 +684,10 @@ static irqreturn_t saa7134_irq(int irq, void *dev_id)
dump_statusregs(dev);
#endif
- if (report & SAA7134_IRQ_REPORT_RDCAP /* _INTL */)
- saa7134_irq_video_intl(dev);
+ if ((report & SAA7134_IRQ_REPORT_RDCAP) ||
+ (report & SAA7134_IRQ_REPORT_INTL))
+ saa7134_irq_video_signalchange(dev);
+
if ((report & SAA7134_IRQ_REPORT_DONE_RA0) &&
(status & 0x60) == 0)
@@ -1173,7 +1175,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev,
mutex_unlock(&devlist_lock);
/* check for signal */
- saa7134_irq_video_intl(dev);
+ saa7134_irq_video_signalchange(dev);
if (saa7134_dmasound_init && !dev->dmasound.priv_data) {
saa7134_dmasound_init(dev);