From: Ian Abbott Date: Fri, 31 Oct 2014 14:32:27 +0000 (+0000) Subject: staging: comedi: icp_multi: correct insn_bits returned data for DO X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~463 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf5d2af6839deb2e7765648ce139dc9677db0c18;p=pandora-kernel.git staging: comedi: icp_multi: correct insn_bits returned data for DO For some unfathomable reason, the Comedi `insn_bits` handler for the digital output subdevice (`icp_multi_insn_bits_do()`) writes the digital output register and reads back the unrelated digital input register. Read back the current state of the outputs (held in `s->state`) instead. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed