diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2016-07-20 17:07:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-07 08:32:45 +0200 |
| commit | fbde41faa1c043f465fb3d435c2fd34e82e7b88a (patch) | |
| tree | ef03052cfa4775c972ee59994ed91e97fd437632 /kernel/sysctl_binary.c | |
| parent | b03ee3d047cafd407896b4a2ad018338387ec8e7 (diff) | |
staging: comedi: ni_mio_common: fix wrong insn_write handler
commit 5ca05345c56cb979e1a25ab6146437002f95cac8 upstream.
For counter subdevices, the `s->insn_write` handler is being set to the
wrong function, `ni_tio_insn_read()`. It should be
`ni_tio_insn_write()`.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reported-by: Éric Piel <piel@delmic.com>
Fixes: 10f74377eec3 ("staging: comedi: ni_tio: make ni_tio_winsn() a
proper comedi (*insn_write)"
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
