projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2f0c4
)
pcl812: Don't need to set cur_chan twice at end of scan.
author
Ian Abbott
<abbotti@mev.co.uk>
Wed, 20 Jan 2010 12:04:26 +0000
(12:04 +0000)
committer
Ian Abbott
<abbotti@mev.co.uk>
Wed, 20 Jan 2010 12:04:26 +0000
(12:04 +0000)
comedi/drivers/pcl812.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/pcl812.c
b/comedi/drivers/pcl812.c
index bd0c2ff4879c593c57c84feabe4a862c948698a3..cae13478552bfa90b741b5ae0f8465ee18275df8 100644
(file)
--- 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 */