aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.c
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-21 23:23:22 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:11 -0500
commit2bb49f1b9f6a4f50222bc8a6b1e9df87a432c52c (patch)
tree0fa23a00811ba598d0a2f6ead3b14492b31fe6fb /drivers/media/video/cx18/cx18-driver.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-driver.c')
-rw-r--r--drivers/media/video/cx18/cx18-driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 88ce1e83122..fbcbb500ca7 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -834,7 +834,6 @@ err:
834 if (retval == 0) 834 if (retval == 0)
835 retval = -ENODEV; 835 retval = -ENODEV;
836 CX18_ERR("Error %d on initialization\n", retval); 836 CX18_ERR("Error %d on initialization\n", retval);
837 cx18_log_statistics(cx);
838 837
839 i = cx->num; 838 i = cx->num;
840 spin_lock(&cx18_cards_lock); 839 spin_lock(&cx18_cards_lock);
@@ -951,7 +950,6 @@ static void cx18_remove(struct pci_dev *pci_dev)
951 950
952 pci_disable_device(cx->dev); 951 pci_disable_device(cx->dev);
953 952
954 cx18_log_statistics(cx);
955 CX18_INFO("Removed %s, card #%d\n", cx->card_name, cx->num); 953 CX18_INFO("Removed %s, card #%d\n", cx->card_name, cx->num);
956} 954}
957 955