Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83827
b: refs/heads/master
c: dbab812
h: refs/heads/master
i:
  83825: a3e46be
  83823: bf9ea56
v: v3
  • Loading branch information
Maciej W. Rozycki authored and Linus Torvalds committed Feb 7, 2008
1 parent 7754996 commit 0e74d4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4dd1467f2053b31e2fbb58763ff9d1e0399af45
refs/heads/master: dbab81281d3227af3d8a04aa748c5f41befa5d43
4 changes: 2 additions & 2 deletions trunk/drivers/serial/dz.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ static void dz_console_putchar(struct uart_port *uport, int ch)
iob();
spin_unlock_irqrestore(&dport->port.lock, flags);

while (loops--) {
do {
trdy = dz_in(dport, DZ_CSR);
if (!(trdy & DZ_TRDY))
continue;
Expand All @@ -696,7 +696,7 @@ static void dz_console_putchar(struct uart_port *uport, int ch)
dz_out(dport, DZ_TCR, mask);
iob();
udelay(2);
}
} while (loops--);

if (loops) /* Cannot send otherwise. */
dz_out(dport, DZ_TDR, ch);
Expand Down

0 comments on commit 0e74d4c

Please sign in to comment.