Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173512
b: refs/heads/master
c: b151680
h: refs/heads/master
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed Dec 4, 2009
1 parent cf9e340 commit 25fa53b
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: fd2cb0ce74e07babaf8c7bf96ef03c25d194e463
refs/heads/master: b1516803d5274386256bef4972dfbf8c9eed5165
4 changes: 2 additions & 2 deletions trunk/drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,8 @@ static void sci_free_irq(struct sci_port *port)

static unsigned int sci_tx_empty(struct uart_port *port)
{
/* Can't detect */
return TIOCSER_TEMT;
unsigned short status = sci_in(port, SCxSR);
return status & SCxSR_TEND(port) ? TIOCSER_TEMT : 0;
}

static void sci_set_mctrl(struct uart_port *port, unsigned int mctrl)
Expand Down

0 comments on commit 25fa53b

Please sign in to comment.