Commit c4f01240 authored by Nick Andrew's avatar Nick Andrew Committed by Linus Torvalds

Fix incorrect use of loose in tty/serial drivers

[Folded together as one diff from 3]

It should be 'lose', not 'loose'.
Signed-off-by: default avatarNick Andrew <nick@nick-andrew.net>
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f10a3a32
...@@ -418,7 +418,7 @@ static irqreturn_t cd2401_rxerr_interrupt(int irq, void *dev_id) ...@@ -418,7 +418,7 @@ static irqreturn_t cd2401_rxerr_interrupt(int irq, void *dev_id)
TTY_OVERRUN); TTY_OVERRUN);
/* /*
If the flip buffer itself is If the flip buffer itself is
overflowing, we still loose overflowing, we still lose
the next incoming character. the next incoming character.
*/ */
if (tty_buffer_request_room(tty, 1) != if (tty_buffer_request_room(tty, 1) !=
......
...@@ -591,8 +591,8 @@ mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new, ...@@ -591,8 +591,8 @@ mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new,
/* Update the per-port timeout */ /* Update the per-port timeout */
uart_update_timeout(port, new->c_cflag, baud); uart_update_timeout(port, new->c_cflag, baud);
/* Do our best to flush TX & RX, so we don't loose anything */ /* Do our best to flush TX & RX, so we don't lose anything */
/* But we don't wait indefinitly ! */ /* But we don't wait indefinitely ! */
j = 5000000; /* Maximum wait */ j = 5000000; /* Maximum wait */
/* FIXME Can't receive chars since set_termios might be called at early /* FIXME Can't receive chars since set_termios might be called at early
* boot for the console, all stuff is not yet ready to receive at that * boot for the console, all stuff is not yet ready to receive at that
......
...@@ -1498,7 +1498,7 @@ static int ftdi_open(struct tty_struct *tty, ...@@ -1498,7 +1498,7 @@ static int ftdi_open(struct tty_struct *tty,
priv->interface, buf, 0, WDR_TIMEOUT); priv->interface, buf, 0, WDR_TIMEOUT);
/* Termios defaults are set by usb_serial_init. We don't change /* Termios defaults are set by usb_serial_init. We don't change
port->tty->termios - this would loose speed settings, etc. port->tty->termios - this would lose speed settings, etc.
This is same behaviour as serial.c/rs_open() - Kuba */ This is same behaviour as serial.c/rs_open() - Kuba */
/* ftdi_set_termios will send usb control messages */ /* ftdi_set_termios will send usb control messages */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment