From: H Hartley Sweeten Date: Thu, 17 Apr 2014 17:08:04 +0000 (-0700) Subject: staging: comedi: ni_labpc: clarify the cmd->start_arg validation X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1322 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c55881686302a5e7f19b82f0a163beec2cc314c3;p=pandora-kernel.git staging: comedi: ni_labpc: clarify the cmd->start_arg validation This driver supports cmd->start_src sources of TRIG_NOW and TRIG_EXT. Refactor the (*do_cmdtest) to clarify the trivial validation of the cmd->start_arg. This also fixes a bug, the cmd->start_src has the trigger not the cmd->start_arg. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed