From: Fred Brooks Date: Fri, 20 Jun 2014 11:53:15 +0000 (+0100) Subject: staging: comedi: ni_daq_700: add AI range and input mode switching X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~1668 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf695df834efc718b2ed17e9c83e127fd63c9033;p=pandora-kernel.git staging: comedi: ni_daq_700: add AI range and input mode switching Add support for switching the input range and the single-ended/ differential input mode for the AI subdevice. We needed to clear the FIFO of data before the conversion to handle card mode switching glitches. [ Minor whitespace fixes and driver comment reformatting. - Ian ] Signed-off-by: Fred Brooks Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed