2008-12-05 10:23:49

by Nick Andrew

[permalink] [raw]
Subject: [PATCH] Fix incorrect use of loose in mpc52xx_uart.c

Fix incorrect use of loose in mpc52xx_uart.c

It should be 'lose', not 'loose'. Also fix a spelling error on
the next line.

Signed-off-by: Nick Andrew <[email protected]>
---

drivers/serial/mpc52xx_uart.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/drivers/serial/mpc52xx_uart.c b/drivers/serial/mpc52xx_uart.c
index 6117d3d..28c00c3 100644
--- a/drivers/serial/mpc52xx_uart.c
+++ b/drivers/serial/mpc52xx_uart.c
@@ -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