summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-11 02:00:11 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-11 03:05:55 (GMT)
commit1fbc937b240db5e54be3cfa147d7efb4d72b6a1d (patch)
treec6ed48204ff3c2a326803b3f69166915ed36a666 /drivers
parent3e5a0ba03e2f0d7402e47620ce0fae71b44e4723 (diff)
downloadlinux-1fbc937b240db5e54be3cfa147d7efb4d72b6a1d.tar.xz
staging: comedi: adl_pci9111: remove AI_DO_CMD_DEBUG code
This debug output should be removed in the final driver. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/adl_pci9111.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c
index 0c20c8d..f9d874b 100644
--- a/drivers/staging/comedi/drivers/adl_pci9111.c
+++ b/drivers/staging/comedi/drivers/adl_pci9111.c
@@ -375,8 +375,6 @@ static void pci9111_interrupt_source_set(struct comedi_device *dev,
/* Cancel analog input autoscan */
-#undef AI_DO_CMD_DEBUG
-
static int pci9111_ai_cancel(struct comedi_device *dev,
struct comedi_subdevice *s)
{
@@ -393,10 +391,6 @@ static int pci9111_ai_cancel(struct comedi_device *dev,
pci9111_fifo_reset();
-#ifdef AI_DO_CMD_DEBUG
- printk(PCI9111_DRIVER_NAME ": ai_cancel\n");
-#endif
-
return 0;
}
@@ -650,11 +644,6 @@ static int pci9111_ai_do_cmd(struct comedi_device *dev,
&(async_cmd->convert_arg),
async_cmd->
flags & TRIG_ROUND_MASK);
-#ifdef AI_DO_CMD_DEBUG
- printk(PCI9111_DRIVER_NAME ": divisors = %d, %d\n",
- dev_private->timer_divisor_1,
- dev_private->timer_divisor_2);
-#endif
pci9111_trigger_source_set(dev, software);
pci9111_timer_set(dev);
@@ -696,23 +685,6 @@ static int pci9111_ai_do_cmd(struct comedi_device *dev,
dev_private->chunk_num_samples =
dev_private->chanlist_len * (1 + dev_private->scan_delay);
-#ifdef AI_DO_CMD_DEBUG
- printk(PCI9111_DRIVER_NAME ": start interruptions!\n");
- printk(PCI9111_DRIVER_NAME ": trigger source = %2x\n",
- pci9111_trigger_and_autoscan_get());
- printk(PCI9111_DRIVER_NAME ": irq source = %2x\n",
- pci9111_interrupt_and_fifo_get());
- printk(PCI9111_DRIVER_NAME ": ai_do_cmd\n");
- printk(PCI9111_DRIVER_NAME ": stop counter = %d\n",
- dev_private->stop_counter);
- printk(PCI9111_DRIVER_NAME ": scan delay = %d\n",
- dev_private->scan_delay);
- printk(PCI9111_DRIVER_NAME ": chanlist_len = %d\n",
- dev_private->chanlist_len);
- printk(PCI9111_DRIVER_NAME ": chunk num samples = %d\n",
- dev_private->chunk_num_samples);
-#endif
-
return 0;
}