From: H Hartley Sweeten Date: Tue, 29 Apr 2014 19:59:47 +0000 (-0700) Subject: staging: comedi: addi_common.h: remove 'b_AiContinuous' from private data X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1056 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f673c5d10511e790de97ab885878cbad1678245;p=pandora-kernel.git staging: comedi: addi_common.h: remove 'b_AiContinuous' from private data This member of the private data can be determined by checking the cmd->stop_src. Do that instead. Fix the b_AiContinuous check in apci3120_ai_cmd(). The (*do_cmdtest) validates that the cmd->stop_arg os >= 1 for TRIG_COUNT and 0 for TRIG_NONE. The correct test to set this flag is (cmd->stop_src == TRIG_NONE). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed