From: Frank Mori Hess Date: Wed, 1 Nov 2006 19:52:47 +0000 (+0000) Subject: fixed hosing of ao_mode2 register. X-Git-Tag: r0_7_74~168 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a557282b3987e72aee9fb5540fefe7b718bdfd57;p=comedi.git fixed hosing of ao_mode2 register. --- 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