projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7801f20
)
fixed comedi_buf_write_n_available argument
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 4 Oct 2003 23:19:52 +0000
(23:19 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 4 Oct 2003 23:19:52 +0000
(23:19 +0000)
comedi/comedi_fops.c
patch
|
blob
|
history
diff --git
a/comedi/comedi_fops.c
b/comedi/comedi_fops.c
index e4f40f2bc88bf3369417d6b9d3d2603b2ab98b21..eab9bb9af6feca143525464f4d4c1435be5f2300 100644
(file)
--- a/
comedi/comedi_fops.c
+++ b/
comedi/comedi_fops.c
@@
-1349,7
+1349,7
@@
static unsigned int comedi_poll_v22(struct file *file, poll_table * wait)
async = s->async;
if(!s->busy
|| !(s->subdev_flags&SDF_RUNNING)
- || comedi_buf_write_n_available(
async
)>0){
+ || comedi_buf_write_n_available(
s
)>0){
mask |= POLLOUT | POLLWRNORM;
}
}