Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319658
b: refs/heads/master
c: 7e6507a
h: refs/heads/master
v: v3
  • Loading branch information
Jayachandran C authored and Ralf Baechle committed Jul 24, 2012
1 parent a102333 commit 2d3d760
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 93a029325979c4baa4cb03286e628b802614b5cb
refs/heads/master: 7e6507ad76a212b961d2392d22a9610be9e4e053
2 changes: 1 addition & 1 deletion trunk/arch/mips/netlogic/common/earlycons.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void prom_putchar(char c)
#elif defined(CONFIG_CPU_XLR)
uartbase = nlm_mmio_base(NETLOGIC_IO_UART_0_OFFSET);
#endif
while (nlm_read_reg(uartbase, UART_LSR) == 0)
while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0)
;
nlm_write_reg(uartbase, UART_TX, c);
}

0 comments on commit 2d3d760

Please sign in to comment.