diff options
-rw-r--r-- | drivers/media/video/saa7164/saa7164-core.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-core.c b/drivers/media/video/saa7164/saa7164-core.c index 591a3c101c0f..20257664b40b 100644 --- a/drivers/media/video/saa7164/saa7164-core.c +++ b/drivers/media/video/saa7164/saa7164-core.c @@ -267,7 +267,12 @@ static irqreturn_t saa7164_irq_encoder(struct saa7164_port *port) return 0; } - /* Sore old time */ + if (rp != ((port->last_irq_rp + 1) % 8)) { + printk(KERN_ERR "%s() Multiple bufs on interrupt, port %p\n", + __func__, port); + } + + /* Store old time */ port->last_irq_msecs_diff = port->last_irq_msecs; /* Collect new stats */ |