commit | fb7891e48fc2eac16f615e81df06b7510981ef73 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Aug 05 10:44:55 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 07 15:03:28 2015 -0700 |
tree | 4672e8e49bce71a9bf7fe7f3e75426d678932487 | |
parent | 023c129f0a90edf1a9cf2c7ba9086f029f56d488 [diff] |
staging: comedi: me4000: fix me4000_ai_insn_read() The coemdi (*insn_read) functions are supposed to read insn->n values from the hardware. Make this function work like the core expects. Use the comedi_offset_munge() helper to munge the two's complement values to offset binary. 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>