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: Nick Andrew <nick@nick-andrew.net> Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f10a3a32ae
commit
c4f0124057
@@ -591,8 +591,8 @@ mpc52xx_uart_set_termios(struct uart_port *port, struct ktermios *new,
|
||||
/* Update the per-port timeout */
|
||||
uart_update_timeout(port, new->c_cflag, baud);
|
||||
|
||||
/* Do our best to flush TX & RX, so we don't loose anything */
|
||||
/* But we don't wait indefinitly ! */
|
||||
/* Do our best to flush TX & RX, so we don't lose anything */
|
||||
/* But we don't wait indefinitely ! */
|
||||
j = 5000000; /* Maximum wait */
|
||||
/* 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
|
||||
|
Reference in New Issue
Block a user