From: H Hartley Sweeten Date: Mon, 14 Jul 2014 19:06:58 +0000 (-0700) Subject: staging: comedi: ni_65xx: fix ni_65xx_intr_insn_config() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~705 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3e33cd3f83fcb4415a1014a1c8b11c621900ae8;p=pandora-kernel.git staging: comedi: ni_65xx: fix ni_65xx_intr_insn_config() Refactor this function to follow the standard (*insn_config) form. Add a sanity check of the number of data parameters (insn->n). Currently the core does not check INSN_CONFIG_CHANGE_NOTIFY. Fix the writes to the rise/fall edge enable registers. The macro expects a "port" value not the port offset value. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed