From: H Hartley Sweeten Date: Mon, 26 Aug 2013 22:28:32 +0000 (-0700) Subject: staging: comedi: dt2817: fix dt2817_dio_insn_config() X-Git-Tag: v3.12-rc1~183^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fe22f6f6e5715d29bdfca99358001c0dfbdae6;p=pandora-kernel.git staging: comedi: dt2817: fix dt2817_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