]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: comedi: ni_usb6501: add counter subdevice
authorLuca Ellero <luca.ellero@brickedbrain.com>
Fri, 19 Sep 2014 11:50:41 +0000 (13:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 22:58:18 +0000 (15:58 -0700)
commit7baf92949198b9bbfae30486601b3bdcca604073
treee4064b525820e1c4cae3b539931eb1de9618b9d9
parent5116a48c1b0b819b9276993479d193f37fbfbd0a
staging: comedi: ni_usb6501: add counter subdevice

Add counter support for NI USB-6501.

The following functions are introduced:
- ni6501_counter_command()
- ni6501_cnt_insn_config()
- ni6501_cnt_insn_read()
- ni6501_cnt_insn_write()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_usb6501.c