From: H Hartley Sweeten Date: Wed, 27 Jun 2012 16:17:17 +0000 (-0700) Subject: staging: comedi: cb_pcidas: fix dac08_write_insn() X-Git-Tag: v3.6-rc1~100^2~475 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac55ca32ca40de3cb52a1ca73ca4a9250e07eefd;p=pandora-kernel.git staging: comedi: cb_pcidas: fix dac08_write_insn() As pointed out by Ian Abbott, the comedi INSN_WRITE instructions are meant to iterate over, and write, all the data[] passed from the comedi core. Modify dac08_write_insn() to work as intended. Since doc08_write_insn() now returns the proper response to the core, make the dac08_write() helper return void. Signed-off-by: H Hartley Sweeten Reported-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed