Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354940
b: refs/heads/master
c: e7e664f
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Iglesias Gonsalvez authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent c471436 commit b429feb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 21d27ed4616c9a7f2886c4159b4c409f73f96e76
refs/heads/master: e7e664fd688a4a882ce571575ad721203f0cd584
3 changes: 3 additions & 0 deletions trunk/drivers/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ static void ipoctal_irq_channel(struct ipoctal_channel *channel)
tty = tty_port_tty_get(&channel->tty_port);
if (!tty)
return;

spin_lock(&channel->lock);
/* The HW is organized in pair of channels. See which register we need
* to read from */
isr = ioread8(&channel->block_regs->r.isr);
Expand All @@ -216,6 +218,7 @@ static void ipoctal_irq_channel(struct ipoctal_channel *channel)

tty_flip_buffer_push(tty);
tty_kref_put(tty);
spin_unlock(&channel->lock);
}

static irqreturn_t ipoctal_irq_handler(void *arg)
Expand Down

0 comments on commit b429feb

Please sign in to comment.