commit | 49b71ebab2b40ffec19007e8b4dba6b8f8622f46 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Aug 26 15:29:10 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 27 16:59:08 2013 -0700 |
tree | b14e97cb56a97cad1ad5307af2b185b5d07c3a84 | |
parent | 9b3e5aec9b275a6a7bad48f2dc2c2dcfd38a4779 [diff] |
staging: comedi: dmm32at: fix dmm32at_dio_insn_config() This is the (*insn_config) function for a DIO subdevice. It should be using the data[0] value as the "instruction" to perform on the subdevice. Use the comedi_dio_insn_config() helper to properly handle instructions. 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>