From e379d9c8af29885fefe9b30cb84aa98970ef8ba2 Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Sun, 5 Mar 2017 13:45:40 +1000 Subject: [PATCH] 8250: Pass `tty_port` to `tty_buffer_request_room` As per 227434f8986c3827a1faedd1feb437acd6285315. --- 3.x/8250.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3.x/8250.c b/3.x/8250.c index 6e90f28..1fb4604 100644 --- a/3.x/8250.c +++ b/3.x/8250.c @@ -1443,7 +1443,7 @@ receive_chars(struct uart_adv950_port *up, unsigned int *status) serial_out(up, UART_ICR, up->acr); count = (up->port.fifosize < save_rfl)? up->port.fifosize: save_rfl; //ensure tty core has enough space - count = tty_buffer_request_room(tty, count); + count = tty_buffer_request_room(tty->port, count); //printk(KERN_INFO "RFL=%d,count=%d,", save_rfl, count); //firstly clear DMA status register