From: H Hartley Sweeten Date: Tue, 6 Nov 2012 17:09:37 +0000 (-0700) Subject: staging: comedi: addi_apci_1564: fix digital input 'insn_bits' function X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~548 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b5d432852d030320cdd41571ab37df0d6f6e823;p=pandora-kernel.git staging: comedi: addi_apci_1564: 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 function returns the status in data[0]. 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed