diff options
author | Andy Walls <awalls@radix.net> | 2008-11-21 23:23:22 -0500 |
---|---|---|
committer | Andy Walls <awalls@radix.net> | 2008-11-21 23:23:22 -0500 |
commit | cbd9b1715c3df1c998013c4606b32512a4ac1beb (patch) | |
tree | 92ad7db6822e3ee66b91b8a29e2e34b1821c5cb9 /linux/drivers/media/video/cx18/cx18-io.c | |
parent | ab836bf8e5b5007ce7e1e2e6513637e99fea6a83 (diff) | |
download | mediapointer-dvb-s2-cbd9b1715c3df1c998013c4606b32512a4ac1beb.tar.gz mediapointer-dvb-s2-cbd9b1715c3df1c998013c4606b32512a4ac1beb.tar.bz2 |
cx18: Adjust outgoing mailbox timeouts and remove statistics logging
From: Andy Walls <awalls@radix.net>
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.
Priority: normal
Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-io.c')
-rw-r--r-- | linux/drivers/media/video/cx18/cx18-io.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-io.c b/linux/drivers/media/video/cx18/cx18-io.c index c6f1d0d7f..ec5b3d7bc 100644 --- a/linux/drivers/media/video/cx18/cx18-io.c +++ b/linux/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; |