diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2014-09-29 11:55:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-29 14:36:25 -0400 |
commit | 226ee6751541a958cd1ad982f5ba0f9affde6141 (patch) | |
tree | 3e867b8e9af52ed397219d3d4e732bf26ea48696 /drivers/net/arcnet/arcnet.c | |
parent | 41c91996d99394a75912aa5bfda300b85789ed43 (diff) | |
download | op-kernel-dev-226ee6751541a958cd1ad982f5ba0f9affde6141.zip op-kernel-dev-226ee6751541a958cd1ad982f5ba0f9affde6141.tar.gz |
ARCNET: return IRQ_NONE if the interface isn't running
The interrupt handler needs to return IRQ_NONE in case
two devices are used with the shared interrupt handler.
Otherwise it could steal interrupts from the other
interface.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/arcnet/arcnet.c')
-rw-r--r-- | drivers/net/arcnet/arcnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c index 3b790de..09de683 100644 --- a/drivers/net/arcnet/arcnet.c +++ b/drivers/net/arcnet/arcnet.c @@ -777,7 +777,7 @@ irqreturn_t arcnet_interrupt(int irq, void *dev_id) ACOMMAND(CFLAGScmd | RESETclear); AINTMASK(0); spin_unlock(&lp->lock); - return IRQ_HANDLED; + return retval; } BUGMSG(D_DURING, "in arcnet_inthandler (status=%Xh, intmask=%Xh)\n", |