diff options
-rw-r--r-- | drivers/ipack/devices/ipoctal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index 09e3a8e63e22..9cd5572457ff 100644 --- a/drivers/ipack/devices/ipoctal.c +++ b/drivers/ipack/devices/ipoctal.c | |||
@@ -223,14 +223,14 @@ static irqreturn_t ipoctal_irq_handler(void *arg) | |||
223 | unsigned int i; | 223 | unsigned int i; |
224 | struct ipoctal *ipoctal = (struct ipoctal *) arg; | 224 | struct ipoctal *ipoctal = (struct ipoctal *) arg; |
225 | 225 | ||
226 | /* Check all channels */ | ||
227 | for (i = 0; i < NR_CHANNELS; i++) | ||
228 | ipoctal_irq_channel(&ipoctal->channel[i]); | ||
229 | |||
230 | /* Clear the IPack device interrupt */ | 226 | /* Clear the IPack device interrupt */ |
231 | readw(ipoctal->int_space + ACK_INT_REQ0); | 227 | readw(ipoctal->int_space + ACK_INT_REQ0); |
232 | readw(ipoctal->int_space + ACK_INT_REQ1); | 228 | readw(ipoctal->int_space + ACK_INT_REQ1); |
233 | 229 | ||
230 | /* Check all channels */ | ||
231 | for (i = 0; i < NR_CHANNELS; i++) | ||
232 | ipoctal_irq_channel(&ipoctal->channel[i]); | ||
233 | |||
234 | return IRQ_HANDLED; | 234 | return IRQ_HANDLED; |
235 | } | 235 | } |
236 | 236 | ||