mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 00:15:49 -04:00
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:
committed by
Greg Kroah-Hartman
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 |
|
||||
|
||||
Reference in New Issue
Block a user