Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354933
b: refs/heads/master
c: 69a6b9b
h: refs/heads/master
i:
  354931: c9903c2
v: v3
  • Loading branch information
Alberto Garcia authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent e0e138e commit f690662
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: cc83f833c77c1d233e3843af18c1abf8d561d1fa
refs/heads/master: 69a6b9b1b6aec645d2efa23db2c15ed287e672dd
4 changes: 1 addition & 3 deletions trunk/drivers/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,8 @@ static void ipoctal_irq_tx(struct ipoctal_channel *channel)
unsigned char value;
unsigned int *pointer_write = &channel->pointer_write;

if (channel->nb_bytes <= 0) {
channel->nb_bytes = 0;
if (channel->nb_bytes == 0)
return;
}

value = channel->tty_port.xmit_buf[*pointer_write];
iowrite8(value, &channel->regs->w.thr);
Expand Down

0 comments on commit f690662

Please sign in to comment.