Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354932
b: refs/heads/master
c: cc83f83
h: refs/heads/master
v: v3
  • Loading branch information
Alberto Garcia authored and Greg Kroah-Hartman committed Jan 16, 2013
1 parent c9903c2 commit e0e138e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: 8e9a4a9a5c8e8765417d54ed6917c7e1e4d09f4d
refs/heads/master: cc83f833c77c1d233e3843af18c1abf8d561d1fa
11 changes: 4 additions & 7 deletions trunk/drivers/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,10 @@ static void ipoctal_irq_tx(struct ipoctal_channel *channel)
*pointer_write = *pointer_write % PAGE_SIZE;
channel->nb_bytes--;

if ((channel->nb_bytes == 0) &&
(waitqueue_active(&channel->queue))) {

if (channel->board_id != IPACK1_DEVICE_ID_SBS_OCTAL_485) {
*channel->board_write = 1;
wake_up_interruptible(&channel->queue);
}
if (channel->nb_bytes == 0 &&
channel->board_id != IPACK1_DEVICE_ID_SBS_OCTAL_485) {
*channel->board_write = 1;
wake_up_interruptible(&channel->queue);
}
}

Expand Down

0 comments on commit e0e138e

Please sign in to comment.