projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f81097
)
added a do_become_nonbusy() when all the data is marked as being read (presumably...
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 28 May 2001 03:58:36 +0000
(
03:58
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 28 May 2001 03:58:36 +0000
(
03:58
+0000)
being read in the conventional way
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index 76227cfe1db1bf8d9fd61fd2ebfb1bee3652a4f9..24e65adba4cf0f855b1d0e95d978e3de3cb1927d 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-516,6
+516,9
@@
static int do_bufinfo_ioctl(comedi_device *dev,void *arg)
DPRINTK("buffer overrun\n");
return -EIO;
}
+ if(!(s->subdev_flags&SDF_RUNNING) && async->buf_int_count==async->buf_user_count){
+ do_become_nonbusy(dev,s);
+ }
}
comedi_spin_lock_irqsave(&bufinfo_lock, irq_flags);