commit | a7d3de75cf00574f8d360d51d0e1beb3c561cc89 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Oct 30 11:21:54 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 03 16:30:04 2014 -0800 |
tree | 8c5090b07094bdc60f2d160934c9761ea6f85e43 | |
parent | 453fd2b395799fa2e83e3e926ff7fee810d26f92 [diff] |
staging: comedi: drivers do not need to reset the async->cur_chan The comedi core calls comedi_buf_reset() before starting an async command (*do_cmd) and after returning a subdevice to an idle state (*cancel). The drivers do not need to reset the async->cur_chan in those functions. 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>