diff options
| author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-19 17:49:39 -0400 |
|---|---|---|
| committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-19 17:49:39 -0400 |
| commit | 39299d9d15c41cbdd7c7009967cd35afaf34d8fa (patch) | |
| tree | 42a0c0408fcf76024eb6885a27d4f1ed0228abcf /drivers/char/rocket.c | |
| parent | ce625a801664d8ed7344117bbb57510e4e0e872c (diff) | |
| parent | f60f700876cd51de9de69f3a3c865d95e287a24d (diff) | |
Merge with /shiny/git/linux-2.6/.git
Diffstat (limited to 'drivers/char/rocket.c')
| -rw-r--r-- | drivers/char/rocket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c index f463d6baa685..5b1d3680c8ab 100644 --- a/drivers/char/rocket.c +++ b/drivers/char/rocket.c | |||
| @@ -355,7 +355,7 @@ static void rp_do_receive(struct r_port *info, | |||
| 355 | ToRecv = space; | 355 | ToRecv = space; |
| 356 | 356 | ||
| 357 | if (ToRecv <= 0) | 357 | if (ToRecv <= 0) |
| 358 | return; | 358 | goto done; |
| 359 | 359 | ||
| 360 | /* | 360 | /* |
| 361 | * if status indicates there are errored characters in the | 361 | * if status indicates there are errored characters in the |
| @@ -437,6 +437,7 @@ static void rp_do_receive(struct r_port *info, | |||
| 437 | } | 437 | } |
| 438 | /* Push the data up to the tty layer */ | 438 | /* Push the data up to the tty layer */ |
| 439 | ld->receive_buf(tty, tty->flip.char_buf, tty->flip.flag_buf, count); | 439 | ld->receive_buf(tty, tty->flip.char_buf, tty->flip.flag_buf, count); |
| 440 | done: | ||
| 440 | tty_ldisc_deref(ld); | 441 | tty_ldisc_deref(ld); |
| 441 | } | 442 | } |
| 442 | 443 | ||
