made das16_cancel() disable external pacing too
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 27 Feb 2003 17:19:18 +0000 (17:19 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 27 Feb 2003 17:19:18 +0000 (17:19 +0000)
comedi/drivers/das16.c

index f48d570d0ac20372d100b96ca01f36f3dc1debe6..44d074ca30baca42f1af76ab07eb5d6ddec2b1a0 100644 (file)
@@ -1004,7 +1004,7 @@ static int das16_cmd_exec(comedi_device *dev,comedi_subdevice *s)
 static int das16_cancel(comedi_device *dev, comedi_subdevice *s)
 {
        /* disable interrupts, dma and pacer clocked conversions */
-       devpriv->control_state &= ~DAS16_INTE & ~INT_PACER & ~DMA_ENABLE;
+       devpriv->control_state &= ~DAS16_INTE & ~INT_PACER & ~EXT_PACER & ~DMA_ENABLE;
        outb(devpriv->control_state, dev->iobase + DAS16_CONTROL);
        if(devpriv->dma_chan)
                disable_dma(devpriv->dma_chan);