staging: comedi: me4000: remove unnecessary ai control register reset
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 5 Aug 2015 17:45:11 +0000 (10:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Aug 2015 22:03:30 +0000 (15:03 -0700)
The me4000_ai_cancel() already reset this register.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/me4000.c

index a171971b6a87628b7f055998da7422abe891be61..4a051b86100af646498f5dbaf56ae565e2d04585 100644 (file)
@@ -688,9 +688,6 @@ static int me4000_ai_do_cmd(struct comedi_device *dev,
        outl(devpriv->ai_chan_ticks - 1,
             dev->iobase + ME4000_AI_CHAN_TIMER_REG);
 
-       /* Reset control register */
-       outl(0, dev->iobase + ME4000_AI_CTRL_REG);
-
        /* Start sources */
        ctrl = devpriv->ai_ctrl_mode |
               ME4000_AI_CTRL_CHANNEL_FIFO |