projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'powerpc-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git]
/
drivers
/
tty
/
moxa.c
diff --git
a/drivers/tty/moxa.c
b/drivers/tty/moxa.c
index
e37683e
..
f3c72ab
100644
(file)
--- a/
drivers/tty/moxa.c
+++ b/
drivers/tty/moxa.c
@@
-1683,7
+1683,7
@@
static int moxa_poll_port(struct moxa_port *p, unsigned int handle,
if (inited && !tty_throttled(tty) &&
MoxaPortRxQueue(p) > 0) { /* RX */
MoxaPortReadData(p);
if (inited && !tty_throttled(tty) &&
MoxaPortRxQueue(p) > 0) { /* RX */
MoxaPortReadData(p);
- tty_
schedule_flip
(&p->port);
+ tty_
flip_buffer_push
(&p->port);
}
} else {
clear_bit(EMPTYWAIT, &p->statusflags);
}
} else {
clear_bit(EMPTYWAIT, &p->statusflags);
@@
-1708,7
+1708,7
@@
static int moxa_poll_port(struct moxa_port *p, unsigned int handle,
if (tty && (intr & IntrBreak) && !I_IGNBRK(tty)) { /* BREAK */
tty_insert_flip_char(&p->port, 0, TTY_BREAK);
if (tty && (intr & IntrBreak) && !I_IGNBRK(tty)) { /* BREAK */
tty_insert_flip_char(&p->port, 0, TTY_BREAK);
- tty_
schedule_flip
(&p->port);
+ tty_
flip_buffer_push
(&p->port);
}
if (intr & IntrLine)
}
if (intr & IntrLine)