Skip to content

Commit

Permalink
[PATCH] m68knommu: use tty_schedule_flip() in 68360serial.c
Browse files Browse the repository at this point in the history
Use the new tty_schedule_flip() instead of the original direct
schedule_work of the flip buffer.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Feb 8, 2006
1 parent 230afb0 commit e394856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/68360serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ static _INLINE_ void receive_chars(ser_info_t *info)

info->rx_cur = (QUICC_BD *)bdp;

schedule_work(&tty->flip.work);
tty_schedule_flip(tty);
}

static _INLINE_ void receive_break(ser_info_t *info)
Expand All @@ -521,7 +521,7 @@ static _INLINE_ void receive_break(ser_info_t *info)
* the break. If not, we exit now, losing the break. FIXME
*/
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)
Expand Down

0 comments on commit e394856

Please sign in to comment.