Staging: comedi: pcl816: Correct AI scan counting
authorIan Abbott <abbotti@mev.co.uk>
Wed, 20 Jan 2010 13:04:45 +0000 (13:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:47 +0000 (16:42 -0800)
commit13de4f000ec491b16a820e4ed59de2c98b7807be
tree3460a9f93ff7e38ea58b7cc88274beb3af023be6
parent7edfa10689615255e65909bb893fd8f8620cff92
Staging: comedi: pcl816: Correct AI scan counting

For AI commands, the scan counter should be updated after every
scan.  In DMA mode, it was being updated after every repeated
segment of the channel list.  In non-DMA mode, it was being updated
after every sample.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/pcl816.c