aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/cx18/cx18-io.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-22 01:23:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:38:11 -0200
commit2bb49f1b9f6a4f50222bc8a6b1e9df87a432c52c (patch)
tree0fa23a00811ba598d0a2f6ead3b14492b31fe6fb /drivers/media/video/cx18/cx18-io.c
parentbca11a5721917d6d5874571813673a2669ffec4b (diff)
V4L/DVB (9727): cx18: Adjust outgoing mailbox timeouts and remove statistics logging
cx18: Adjust outgoing mailbox timeouts and remove statistics logging. This saves some wasted storage in struct cx18 for each card. Cutting the outgoing mailbox timeouts in half from the previous value appears to be safe with MythTV. Got rid of interrupted case code path after a wait uninterruptable returns. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-io.c')
-rw-r--r--drivers/media/video/cx18/cx18-io.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/media/video/cx18/cx18-io.c b/drivers/media/video/cx18/cx18-io.c
index c6f1d0d7f2c..ec5b3d7bcc6 100644
--- a/drivers/media/video/cx18/cx18-io.c
+++ b/drivers/media/video/cx18/cx18-io.c
@@ -24,20 +24,6 @@
#include "cx18-io.h"
#include "cx18-irq.h"
-void cx18_log_statistics(struct cx18 *cx)
-{
- int i;
-
- if (!(cx18_debug & CX18_DBGFLG_INFO))
- return;
-
- for (i = 0; i <= CX18_MAX_MB_ACK_DELAY; i++)
- if (atomic_read(&cx->mbox_stats.mb_ack_delay[i]))
- CX18_DEBUG_INFO("mb_ack_delay[%d] = %d\n", i,
- atomic_read(&cx->mbox_stats.mb_ack_delay[i]));
- return;
-}
-
void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count)
{
u8 __iomem *dst = addr;