Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196341
b: refs/heads/master
c: 3f255eb
h: refs/heads/master
i:
  196339: c4ca9da
v: v3
  • Loading branch information
Jason Wessel committed May 21, 2010
1 parent 342e986 commit 473b08f
Show file tree
Hide file tree
Showing 2 changed files with 6 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: f5316b4aea024da9266d740322a5481657f6ce59
refs/heads/master: 3f255eb37e97e97dfec7cb8d4c75d543de231812
6 changes: 5 additions & 1 deletion trunk/drivers/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ static int sci_poll_get_char(struct uart_port *port)
handle_error(port);
continue;
}
} while (!(status & SCxSR_RDxF(port)));
break;
} while (1);

if (!(status & SCxSR_RDxF(port)))
return NO_POLL_CHAR;

c = sci_in(port, SCxRDR);

Expand Down

0 comments on commit 473b08f

Please sign in to comment.