summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-21 23:23:22 -0500
committerAndy Walls <awalls@radix.net>2008-11-21 23:23:22 -0500
commitcbd9b1715c3df1c998013c4606b32512a4ac1beb (patch)
tree92ad7db6822e3ee66b91b8a29e2e34b1821c5cb9 /linux/drivers/media/video/cx18/cx18-driver.h
parentab836bf8e5b5007ce7e1e2e6513637e99fea6a83 (diff)
downloadmediapointer-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-driver.h')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.h b/linux/drivers/media/video/cx18/cx18-driver.h
index f06290d32..6e4c90e6c 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.h
+++ b/linux/drivers/media/video/cx18/cx18-driver.h
@@ -367,11 +367,6 @@ struct cx18_i2c_algo_callback_data {
};
#define CX18_MAX_MMIO_WR_RETRIES 10
-#define CX18_MAX_MB_ACK_DELAY 100
-
-struct cx18_mbox_stats {
- atomic_t mb_ack_delay[CX18_MAX_MB_ACK_DELAY+1];
-};
/* Struct to hold info about cx18 cards */
struct cx18 {
@@ -467,9 +462,6 @@ struct cx18 {
u32 gpio_val;
struct mutex gpio_lock;
- /* Statistics */
- struct cx18_mbox_stats mbox_stats;
-
/* v4l2 and User settings */
/* codec settings */