mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] Fix some ucLinux breakage from the tty updates
Breakage reported by Adrian Bunk Untested (no hardware) Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
84542838a3
commit
8145916996
3 changed files with 12 additions and 20 deletions
|
|
@ -128,9 +128,7 @@ static void rs_poll(unsigned long priv)
|
|||
|
||||
while (__simc(SYS_select_one, 0, XTISS_SELECT_ONE_READ, (int)&tv,0,0)){
|
||||
__simc (SYS_read, 0, (unsigned long)&c, 1, 0, 0);
|
||||
tty->flip.count++;
|
||||
*tty->flip.char_buf_ptr++ = c;
|
||||
*tty->flip.flag_buf_ptr++ = TTY_NORMAL;
|
||||
tty_insert_flip_char(tty, c, TTY_NORMAL);
|
||||
i++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue