From b8ac86990345a27dcc3eecb71b18c79132e24cb1 Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Tue, 31 Aug 2004 14:08:45 +0000 Subject: - cx88: add timeout error counter. --- linux/drivers/media/video/cx88/cx88-dvb.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c') diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index 03969ebc1..e06ec1ca8 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -115,11 +115,13 @@ static int dvb_thread(void *data) spin_unlock_irqrestore(dev->dvbq.irqlock,flags); /* log errors if any */ - if (dev->error_count || dev->stopper_count) { - printk("%s: error=%d stopper=%d\n", - dev->core->name, dev->error_count, dev->stopper_count); - dev->error_count = 0; + if (dev->error_count || dev->stopper_count || dev->timeout_count) { + printk("%s: error=%d stopper=%d timeout=%d\n", + dev->core->name, dev->error_count, + dev->stopper_count, dev->timeout_count); + dev->error_count = 0; dev->stopper_count = 0; + dev->timeout_count = 0; } } -- cgit v1.2.3