X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fserial%2Fdz.c;h=0dddd68b20d27de2dd4e5a8802e4931e954f493b;hb=537388bb6563bfde7c0307b95ecc1f7a1ae39b02;hp=116211fcd36fc196ff12de4aeb36ee8e6194031f;hpb=3d50337f62a61027f40ad4ceddefa3c91e5d479e;p=linux-2.6 diff --git a/drivers/serial/dz.c b/drivers/serial/dz.c index 116211fcd3..0dddd68b20 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) dz_out(dport, DZ_TCR, mask); iob(); udelay(2); - } while (loops--); + } while (--loops); if (loops) /* Cannot send otherwise. */ dz_out(dport, DZ_TDR, ch);