Commit e3948563 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c

Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.
Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 230afb06
...@@ -509,7 +509,7 @@ static _INLINE_ void receive_chars(ser_info_t *info) ...@@ -509,7 +509,7 @@ static _INLINE_ void receive_chars(ser_info_t *info)
info->rx_cur = (QUICC_BD *)bdp; info->rx_cur = (QUICC_BD *)bdp;
schedule_work(&tty->flip.work); tty_schedule_flip(tty);
} }
static _INLINE_ void receive_break(ser_info_t *info) static _INLINE_ void receive_break(ser_info_t *info)
...@@ -521,7 +521,7 @@ static _INLINE_ void receive_break(ser_info_t *info) ...@@ -521,7 +521,7 @@ static _INLINE_ void receive_break(ser_info_t *info)
* the break. If not, we exit now, losing the break. FIXME * the break. If not, we exit now, losing the break. FIXME
*/ */
tty_insert_flip_char(tty, 0, TTY_BREAK); tty_insert_flip_char(tty, 0, TTY_BREAK);
schedule_work(&tty->flip.work); tty_schedule_flip(tty);
} }
static _INLINE_ void transmit_chars(ser_info_t *info) static _INLINE_ void transmit_chars(ser_info_t *info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment