From a7f433600af1dabbb86665e28266ad36bdd37eb5 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 20 Feb 2003 00:17:04 +0000 Subject: [PATCH] disable interrupts in cancel --- comedi/drivers/gsc_hpdi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comedi/drivers/gsc_hpdi.c b/comedi/drivers/gsc_hpdi.c index 7edea8e2..57630191 100644 --- a/comedi/drivers/gsc_hpdi.c +++ b/comedi/drivers/gsc_hpdi.c @@ -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); -- 2.26.2