linux-hardened/drivers/staging/comedi
H Hartley Sweeten 272b6b04e7 staging: comedi: addi_apci_3501: fix digital input 'insn_bits' function
This driver does not follow the comedi API. The digital input 'insn_bits'
function is supposed to return the status of all the input channels in
data[1]. Currently this driver uses the data[0] value passed to the function
to determine if a single input channel status is requested or the status of
all the input channels.

Fix the function so it works like the comedi core expects. The core can
then use the function to emulate the 'insn_read' function for individual
channels.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-13 11:21:36 -08:00
..
drivers staging: comedi: addi_apci_3501: fix digital input 'insn_bits' function 2012-11-13 11:21:36 -08:00
kcomedilib staging/comedi: Use dev_ printks in kcomedilib/kcomedilib_main.c 2012-10-22 12:47:56 -07:00
comedi.h staging: comedi: comedi.h: add clock sources for amplc_dio200 timer 2012-10-24 15:25:22 -07:00
comedi_compat32.c staging: comedi: shrink comedi_compat32.h 2012-06-20 12:57:43 -07:00
comedi_compat32.h staging: comedi: shrink comedi_compat32.h 2012-06-20 12:57:43 -07:00
comedi_fops.c staging: comedi: fix memory leak for saved channel list 2012-09-21 09:29:53 -07:00
comedi_internal.h staging: comedi: remove comedi_fops.h 2012-06-20 12:56:55 -07:00
comedidev.h staging: comedi: comedidev.h: make comedi_board() parameter const 2012-11-06 09:28:58 +01:00
comedilib.h
drivers.c staging: comedi: support auto_attach() for PCI and USB 2012-10-29 15:02:08 -07:00
Kconfig staging: comedi: addi_apci_3120: merge in addi_apci_3001 driver 2012-11-02 11:23:47 -07:00
Makefile Staging: comedi: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
proc.c staging: comedi: remove comedi_fops.h 2012-06-20 12:56:55 -07:00
range.c staging: comedi: range: remove subdevice pointer math 2012-09-05 20:06:32 -07:00
TODO