staging: comedi: me4000: remove unnecessary ai control register reset
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>
This commit is contained in:
parent
6847df631f
commit
78e4a573bf
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user