staging: comedi: amplc_dio200: support multiple read/write of counter
authorIan Abbott <abbotti@mev.co.uk>
Wed, 24 Oct 2012 15:48:13 +0000 (16:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 22:25:23 +0000 (15:25 -0700)
commitfad18543cef4d6368b00fb318d0b31d1e2deabb6
tree2227115095b3992ecf1420499c932f7a43a633f4
parentc59515a879d69fd8fc25c8d7eea6aa03ceb6983d
staging: comedi: amplc_dio200: support multiple read/write of counter

Change the `insn_read` and `insn_write` handlers of the '8254' counter
subdevices to support reading and writing multiple data values.
(Writing multiple values isn't very useful, but if that's what the user
wants....)

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c