[PATCH 2.6 IrDA] via-ircc irq retval

From: Jean Tourrilhes
Date: Mon Feb 09 2004 - 20:18:25 EST


ir262_irq_retval_via.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~
<Patch from Stephen Hemminger>
o [CORRECT] Better handling of shared IRQs in via-ircc driver.


diff -u -p linux/drivers/net/irda.d7/via-ircc.c linux/drivers/net/irda/via-ircc.c
--- linux/drivers/net/irda.d7/via-ircc.c Wed Feb 4 11:55:57 2004
+++ linux/drivers/net/irda/via-ircc.c Mon Feb 9 16:12:33 2004
@@ -1394,7 +1394,7 @@ static irqreturn_t via_ircc_interrupt(in

} //Rx Event
spin_unlock(&self->lock);
- return IRQ_HANDLED;
+ return IRQ_RETVAL(iHostIntType);
}

void hwreset(struct via_ircc_cb *self)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/