From: Ian Abbott Date: Wed, 20 Jan 2010 13:04:47 +0000 (+0000) Subject: Staging: comedi: adv_pci1710: Correct AI scan count and channel checks X-Git-Tag: v2.6.34-rc1~10^2~1^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61283d227c6b39e30afc6346db099521b0b64fa1;p=pandora-kernel.git Staging: comedi: adv_pci1710: Correct AI scan count and channel checks For AI commands, the internal channel list used to check incoming data was only set up partially if the channel list contained repeats. Set it up fully. Also the current scan position was not updated properly when moving a block of data from the FIFO unless a whole number of scans was moved. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed