mirror of
https://github.com/sjlongland/adv950.git
synced 2025-09-13 10:43:14 +10:00
8250: Pass tty_port
to tty_buffer_request_room
As per 227434f8986c3827a1faedd1feb437acd6285315.
This commit is contained in:
parent
8f905f0925
commit
e379d9c8af
@ -1443,7 +1443,7 @@ receive_chars(struct uart_adv950_port *up, unsigned int *status)
|
|||||||
serial_out(up, UART_ICR, up->acr);
|
serial_out(up, UART_ICR, up->acr);
|
||||||
count = (up->port.fifosize < save_rfl)? up->port.fifosize: save_rfl;
|
count = (up->port.fifosize < save_rfl)? up->port.fifosize: save_rfl;
|
||||||
//ensure tty core has enough space
|
//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);
|
//printk(KERN_INFO "RFL=%d,count=%d,", save_rfl, count);
|
||||||
//firstly clear DMA status register
|
//firstly clear DMA status register
|
||||||
|
Loading…
Reference in New Issue
Block a user