diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2016-03-24 01:37:02 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-28 17:30:36 +0300 |
| commit | 592ef9fb8d7e5deb359b02530c5bb0d0b717cfef (patch) | |
| tree | ee872cc2d91a764af6dc2c44a1b604d3053e6fdc /tools/perf/scripts/python | |
| parent | 475ea1ed14cce2608ed0f12474be2a3d75880eaf (diff) | |
| download | linux-592ef9fb8d7e5deb359b02530c5bb0d0b717cfef.tar.xz | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
