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

8250: Pass tty_port to tty_insert_flip_string

As per 05c7cd39907184328f48d3e7899f9cdd653ad336.
This commit is contained in:
Stuart Longland 2017-03-05 13:49:29 +10:00
parent e379d9c8af
commit 50c8cae914
Signed by: stuartl
GPG Key ID: 4DFA191410BDE3B7

View File

@ -1456,7 +1456,7 @@ receive_chars(struct uart_adv950_port *up, unsigned int *status)
flags = readl(up->port.membase + DMASTA);
} while (flags & DMAACT);
tty_insert_flip_string(tty, (unsigned char *)up->rx_ring, count);
tty_insert_flip_string(tty->port, (unsigned char *)up->rx_ring, count);
up->port.icount.rx += count;
}
else