Staging: comedi: pcl812: Correct AI scan counting
authorIan Abbott <abbotti@mev.co.uk>
Wed, 20 Jan 2010 13:04:44 +0000 (13:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:46 +0000 (16:42 -0800)
commit7edfa10689615255e65909bb893fd8f8620cff92
tree475ab06048fbf5667ec22b0c235f6f8defde6e68
parent6c381c5775ea5eb799bdc790dd6d6d43fe966134
Staging: comedi: pcl812: Correct AI scan counting

The AI scan counter should be updated after every completed scan,
not after every channel.  Keep track of current channel.

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