aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial')
-rw-r--r--drivers/serial/dz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c
index 116211fcd36..0dddd68b20d 100644
--- a/drivers/serial/dz.c
+++ b/drivers/serial/dz.c
@@ -819,7 +819,7 @@ static void dz_console_putchar(struct uart_port *uport, int ch)
819 dz_out(dport, DZ_TCR, mask); 819 dz_out(dport, DZ_TCR, mask);
820 iob(); 820 iob();
821 udelay(2); 821 udelay(2);
822 } while (loops--); 822 } while (--loops);
823 823
824 if (loops) /* Cannot send otherwise. */ 824 if (loops) /* Cannot send otherwise. */
825 dz_out(dport, DZ_TDR, ch); 825 dz_out(dport, DZ_TDR, ch);