summaryrefslogtreecommitdiffstats
path: root/kernel/up.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2016-09-07 15:33:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-11 09:59:58 +0200
commitf842188c4f4f63a5b6fb59f45ac121162c0ab4c4 (patch)
treefca89fdecafcbba324f928cba399b72f3fd8b9f6 /kernel/up.c
parent553a1f6d027a8e0c59ca7bbe0f26a25d1881cfef (diff)
downloadlinux-stable-f842188c4f4f63a5b6fb59f45ac121162c0ab4c4.tar.gz
linux-stable-f842188c4f4f63a5b6fb59f45ac121162c0ab4c4.tar.bz2
linux-stable-f842188c4f4f63a5b6fb59f45ac121162c0ab4c4.zip
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/up.c')
0 files changed, 0 insertions, 0 deletions