From: H Hartley Sweeten Date: Mon, 5 Nov 2012 21:39:30 +0000 (-0700) Subject: staging: comedi: addi_apci_1032: fix i_APCI1032_ReadMoreDigitalInput() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~588 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d708485505f7696411e8e7bfecc9162961595f;p=pandora-kernel.git staging: comedi: addi_apci_1032: fix i_APCI1032_ReadMoreDigitalInput() This function is the insn_bits operation for the digital input subdevice. According to the comedi API it's supposed return the status of the inputs in data[1]. The addi-drivers abuse the API and try to make it conform to their own use. Fix this function so it follows the comedi API. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed