Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 146856
b: refs/heads/master
c: dd0a3e7
h: refs/heads/master
v: v3
  • Loading branch information
SUGIOKA Toshinobu authored and Paul Mundt committed Jun 2, 2009
1 parent 071a29e commit cea5148
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 4778541470cf7d074acd998fd40c06b94711e4ad
refs/heads/master: dd0a3e77c825c9f5c6d2a97deb047f8d52026581
3 changes: 1 addition & 2 deletions trunk/drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,8 @@ static void sci_poll_put_char(struct uart_port *port, unsigned char c)
status = sci_in(port, SCxSR);
} while (!(status & SCxSR_TDxE(port)));

sci_in(port, SCxSR); /* Dummy read */
sci_out(port, SCxSR, SCxSR_TDxE_CLEAR(port) & ~SCxSR_TEND(port));
sci_out(port, SCxTDR, c);
sci_out(port, SCxSR, SCxSR_TDxE_CLEAR(port) & ~SCxSR_TEND(port));
}
#endif /* CONFIG_CONSOLE_POLL || CONFIG_SERIAL_SH_SCI_CONSOLE */

Expand Down

0 comments on commit cea5148

Please sign in to comment.