disable interrupts in cancel
authorFrank Mori Hess <fmhess@speakeasy.net>
Thu, 20 Feb 2003 00:17:04 +0000 (00:17 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Thu, 20 Feb 2003 00:17:04 +0000 (00:17 +0000)
comedi/drivers/gsc_hpdi.c

index 7edea8e2aa6fc485589aee48a09f110968804e96..57630191b1332051ff2c0f16e915ac9f3e31c97d 100644 (file)
@@ -974,6 +974,8 @@ void abort_dma( comedi_device *dev, unsigned int channel )
 static int hpdi_cancel( comedi_device *dev, comedi_subdevice *s )
 {
        hpdi_writel( dev, 0, BOARD_CONTROL_REG );
+       
+       writel( 0, priv(dev)->hpdi_iobase + INTERRUPT_CONTROL_REG );
 
        abort_dma(dev, 0);