diff options
| -rw-r--r-- | drivers/ipack/devices/ipoctal.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index 576d53d92677..e66135da63ce 100644 --- a/drivers/ipack/devices/ipoctal.c +++ b/drivers/ipack/devices/ipoctal.c | |||
| @@ -195,13 +195,10 @@ static void ipoctal_irq_tx(struct ipoctal_channel *channel) | |||
| 195 | *pointer_write = *pointer_write % PAGE_SIZE; | 195 | *pointer_write = *pointer_write % PAGE_SIZE; |
| 196 | channel->nb_bytes--; | 196 | channel->nb_bytes--; |
| 197 | 197 | ||
| 198 | if ((channel->nb_bytes == 0) && | 198 | if (channel->nb_bytes == 0 && |
| 199 | (waitqueue_active(&channel->queue))) { | 199 | channel->board_id != IPACK1_DEVICE_ID_SBS_OCTAL_485) { |
| 200 | 200 | *channel->board_write = 1; | |
| 201 | if (channel->board_id != IPACK1_DEVICE_ID_SBS_OCTAL_485) { | 201 | wake_up_interruptible(&channel->queue); |
| 202 | *channel->board_write = 1; | ||
| 203 | wake_up_interruptible(&channel->queue); | ||
| 204 | } | ||
| 205 | } | 202 | } |
| 206 | } | 203 | } |
| 207 | 204 | ||
