From: H Hartley Sweeten Date: Thu, 29 May 2014 17:45:52 +0000 (-0700) Subject: staging: comedi: ke_counter: add ability to select counter clock source X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1970 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40c283a170a2c817b4eb3616adb3f86b4577f49;p=pandora-kernel.git staging: comedi: ke_counter: add ability to select counter clock source Add an (*insn_config) to the counter subdevice to allow the user to select the clock source for the counters using the INSN_CONFIG_SET_CLOCK_SRC instruction. The current selection can be queried with the instruction INSN_CONFIG_GET_CLOCK_SRC. Also, handle the INSN_CONFIG_RESET instruction to reset all the counters. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed