diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-07-31 13:50:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:54:42 -0400 |
commit | 076031310b182ce89cea861982ff49ed6799767a (patch) | |
tree | 781aec674518bbf76a4527de92b9870e0a5ad6fe /drivers/media | |
parent | eafea210719067eee084c047503830c59ae2107b (diff) |
[media] saa7164: generate a fixed kernel warning if the irq is 'late'
Now we start to see a number of patches applied that are related
to debugging the driver. This patch is removed in the coming patches
as you start to see the irq handler evolve as I worked through the
DMA data corruption issues.
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-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) | |||
267 | return 0; | 267 | return 0; |
268 | } | 268 | } |
269 | 269 | ||
270 | /* Sore old time */ | 270 | if (rp != ((port->last_irq_rp + 1) % 8)) { |
271 | printk(KERN_ERR "%s() Multiple bufs on interrupt, port %p\n", | ||
272 | __func__, port); | ||
273 | } | ||
274 | |||
275 | /* Store old time */ | ||
271 | port->last_irq_msecs_diff = port->last_irq_msecs; | 276 | port->last_irq_msecs_diff = port->last_irq_msecs; |
272 | 277 | ||
273 | /* Collect new stats */ | 278 | /* Collect new stats */ |