From: H Hartley Sweeten Date: Wed, 5 Aug 2015 17:45:05 +0000 (-0700) Subject: staging: comedi: me4000: move ai command timing values into private data X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~207 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f97f5c92d4dcd561df1c9c064243fedf328177b;p=pandora-kernel.git staging: comedi: me4000: move ai command timing values into private data The ai (*do_cmd_test) calls me4000_ai_round_cmd_args() to calculate the timing values needed to the command. The the command test passes, the core will then call the ai (*do_cmd) which then has to call me4000_ai_round_cmd_args() again in order to get the same values to pass to ai_prepare() in order to program the timing. Add members to the private data to allow the (*do_cmd_test) to calculate and save to values needed by ai_prepare(). Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed