From: Ian Abbott Date: Wed, 20 Jan 2010 12:04:26 +0000 (+0000) Subject: pcl812: Don't need to set cur_chan twice at end of scan. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b935b5181cb9429d1167c9c1b0089c5a6340edf5;p=comedi.git pcl812: Don't need to set cur_chan twice at end of scan. --- diff --git a/comedi/drivers/pcl812.c b/comedi/drivers/pcl812.c index bd0c2ff4..cae13478 100644 --- a/comedi/drivers/pcl812.c +++ b/comedi/drivers/pcl812.c @@ -967,7 +967,6 @@ static irqreturn_t interrupt_pcl812_ai_int(int irq, void *d) s->async->cur_chan = next_chan; if (next_chan == 0) { /* one scan done */ - s->async->cur_chan = 0; devpriv->ai_act_scan++; if (!(devpriv->ai_neverending)) if (devpriv->ai_act_scan >= devpriv->ai_scans) { /* all data sampled */