commit | c7fe22f6f6e5715d29bdfca99358001c0dfbdae6 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Aug 26 15:28:32 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Aug 27 16:59:07 2013 -0700 |
tree | 9108a9571e364963d659a0fbc42a62a55ae96f2d | |
parent | dcdf1d0323a4eea3bc0a1131057f78234d082079 [diff] |
staging: comedi: dt2817: fix dt2817_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>