drop attempted use of demand-mode dma
authorFrank Mori Hess <fmhess@speakeasy.net>
Mon, 23 Jul 2001 22:04:17 +0000 (22:04 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Mon, 23 Jul 2001 22:04:17 +0000 (22:04 +0000)
comedi/drivers/ni_at_a2150.c

index d2ad1013839a3efccc90bd3aa31843cfa4d8a645..2265c8a49f0c006bbeab346db526430e189182c9 100644 (file)
@@ -400,7 +400,7 @@ static int a2150_attach(comedi_device *dev, comedi_devconfig *it)
                disable_dma(dma);
                set_dma_mode(dma, DMA_MODE_READ);
 
-               devpriv->irq_dma_bits |= DMA_DEM_EN_BIT | DMA_CHAN_BITS(dma);
+               devpriv->irq_dma_bits |= DMA_CHAN_BITS(dma);
        }
 
        dev->board_ptr = a2150_boards + a2150_probe(dev);