From: H Hartley Sweeten Date: Mon, 26 Aug 2013 22:29:33 +0000 (-0700) Subject: staging: comedi: ni_atmio16d: fix atmio16d_dio_insn_config() X-Git-Tag: v3.12-rc1~183^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9f34d57bab010e6f11ec3ebd674b4ff4fc909ee;p=pandora-kernel.git staging: comedi: ni_atmio16d: fix atmio16d_dio_insn_config() This is the (*insn_config) function for a DIO subdevice. It should be using the data[0] value as the "instruction" to perform on the subdevice. Use the comedi_dio_insn_config() helper to properly handle instructions. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed