]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/tty/mxser.c
TTY: move low_latency to tty_port
[karo-tx-linux.git] / drivers / tty / mxser.c
index 450c4507cb5b00ece2ffc657c3fa5dd532da216f..e9cdfdfe06e95ceb62c73688c45d0eec05746716 100644 (file)
@@ -1264,7 +1264,7 @@ static int mxser_set_serial_info(struct tty_struct *tty,
                                (new_serial.flags & ASYNC_FLAGS));
                port->close_delay = new_serial.close_delay * HZ / 100;
                port->closing_wait = new_serial.closing_wait * HZ / 100;
-               tty->low_latency = (port->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
+               port->low_latency = (port->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
                if ((port->flags & ASYNC_SPD_MASK) == ASYNC_SPD_CUST &&
                                (new_serial.baud_base != info->baud_base ||
                                new_serial.custom_divisor !=