diff options
| author | Ian Abbott <abbotti@mev.co.uk> | 2016-09-07 15:33:12 +0100 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 01:17:39 +0000 |
| commit | f11001c32a30af9bfb86d2b822ebef2e6d82d2db (patch) | |
| tree | 5a3fd241076f93d43ae20cb27d9b3cbf6feb8c95 /include/linux/start_kernel.h | |
| parent | 25516ba525323b80e7ebed0d0badd6ad169afd21 (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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/start_kernel.h')
0 files changed, 0 insertions, 0 deletions
