commit | 592ef9fb8d7e5deb359b02530c5bb0d0b717cfef | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Mar 23 15:37:02 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 28 07:30:36 2016 -0700 |
tree | ee872cc2d91a764af6dc2c44a1b604d3053e6fdc | |
parent | 475ea1ed14cce2608ed0f12474be2a3d75880eaf [diff] |
staging: comedi: ni_tio: fix ni_tio_insn_config() The (*insn_config) functions are supposed to return an errno or the number of 'data' values used for the instruction (insn->n). Currently this function returns an errno or 0. Fix the function to work like the core expects. 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>