From: Frank Mori Hess Date: Fri, 19 Oct 2001 15:37:50 +0000 (+0000) Subject: put back line that I shouldn't have removed X-Git-Tag: r0_7_61~40 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00677969e5cbf6ee580962c0bf9b622abea9b442;p=comedi.git put back line that I shouldn't have removed --- diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 297b699f..3289df9c 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -1534,7 +1534,8 @@ printk("m is %d\n",m); break; /* makes device work like a pipe */ } if(!(s->subdev_flags&SDF_RUNNING) && - !(s->runflags & SRF_ERROR)) + !(s->runflags & SRF_ERROR) && + async->buf_int_count - async->buf_user_count == 0) { do_become_nonbusy(dev,s); }