1
0
mirror of https://github.com/sjlongland/adv950.git synced 2025-09-13 10:43:14 +10:00

8250: Pass tty_port to tty_flip_buffer_push

As per 2e124b4a390ca85325fae75764bef92f0547fa25.
This commit is contained in:
Stuart Longland 2017-03-05 14:11:06 +10:00
parent b2103a86df
commit 76910af8b0
Signed by: stuartl
GPG Key ID: 4DFA191410BDE3B7

View File

@ -1527,7 +1527,7 @@ ignore_char:
} while ((lsr & (UART_LSR_DR | UART_LSR_BI)) && (max_count-- > 0));
}
spin_unlock(&up->port.lock);
tty_flip_buffer_push(tty);
tty_flip_buffer_push(tty->port);
spin_lock(&up->port.lock);
*status = lsr;
}