summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-dvb.c
diff options
context:
space:
mode:
authorGerd Knorr <devnull@localhost>2004-08-31 14:08:45 +0000
committerGerd Knorr <devnull@localhost>2004-08-31 14:08:45 +0000
commitb8ac86990345a27dcc3eecb71b18c79132e24cb1 (patch)
tree2c0adfa83e428e4f25903f36041d725ad3b4bbf0 /linux/drivers/media/video/cx88/cx88-dvb.c
parent440c5b5d420d3f8984d724521e1c2527055d669c (diff)
downloadmediapointer-dvb-s2-b8ac86990345a27dcc3eecb71b18c79132e24cb1.tar.gz
mediapointer-dvb-s2-b8ac86990345a27dcc3eecb71b18c79132e24cb1.tar.bz2
- cx88: add timeout error counter.
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-dvb.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-dvb.c10
1 files changed, 6 insertions, 4 deletions
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;
}
}