summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
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-driver.h
parentbca11a5721917d6d5874571813673a2669ffec4b (diff)
downloadtalos-obmc-linux-2bb49f1b9f6a4f50222bc8a6b1e9df87a432c52c.tar.gz
talos-obmc-linux-2bb49f1b9f6a4f50222bc8a6b1e9df87a432c52c.zip
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-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index f06290d32ecf..6e4c90e6cc7c 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/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 */
OpenPOWER on IntegriCloud