projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f891f
)
Patch from anders.blomdell@control.lth.se (Anders Blomdell):
author
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 21 Nov 2005 00:24:33 +0000
(
00:24
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Mon, 21 Nov 2005 00:24:33 +0000
(
00:24
+0000)
make poll point to the right subfield
comedi/drivers/serial2002.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/serial2002.c
b/comedi/drivers/serial2002.c
index 4a2469bc7cf65e976c875f96592ac8ecee25fa99..c03a3545b032850c4028ee8d928a1c38629e0326 100644
(file)
--- a/
comedi/drivers/serial2002.c
+++ b/
comedi/drivers/serial2002.c
@@
-159,7
+159,7
@@
static int tty_read(struct file *f, int timeout)
long elapsed;
int mask;
- mask = f->f_op->poll(f, &table);
+ mask = f->f_op->poll(f, &table
.pt
);
if (mask & (POLLRDNORM|POLLRDBAND|POLLIN|POLLHUP|POLLERR)) { break; }
do_gettimeofday(&now);
elapsed = (1000000 * (now.tv_sec - start.tv_sec) +