From a557282b3987e72aee9fb5540fefe7b718bdfd57 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 1 Nov 2006 19:52:47 +0000 Subject: [PATCH] fixed hosing of ao_mode2 register. --- comedi/drivers/ni_mio_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index f235c0f3..44b664db 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -2604,7 +2604,7 @@ static int ni_ao_cmd(comedi_device *dev,comedi_subdevice *s) devpriv->ao_mode3|=AO_Stop_On_Overrun_Error; devpriv->stc_writew(dev, devpriv->ao_mode3,AO_Mode_3_Register); - devpriv->ao_mode2 &= AO_FIFO_Mode_Mask; + devpriv->ao_mode2 &= ~AO_FIFO_Mode_Mask; #ifdef PCIDMA devpriv->ao_mode2 |= AO_FIFO_Mode_HF_to_F; #else -- 2.26.2