From b935b5181cb9429d1167c9c1b0089c5a6340edf5 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 20 Jan 2010 12:04:26 +0000 Subject: [PATCH] pcl812: Don't need to set cur_chan twice at end of scan. --- comedi/drivers/pcl812.c | 1 - 1 file changed, 1 deletion(-) 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 */ -- 2.26.2