at86rf230: add missing enable_irq on irq handler
Subsystems (2)
Alexander Aring
maintainerPATCH 1/1 at86rf230: add missing enable_irq on irq handler
This patch adds a missing enable_irq in the at86rf230 irq handler. If the read of irq status register failed the irq is disabled and we need to enable the irq on failure.
Signed-off-by Alexander Aring <[email protected]>
--- drivers/net/ieee802154/at86rf230.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/ieee802154/at86rf230.c +1 -0
@@ -908,6 +908,7 @@ static irqreturn_t at86rf230_isr(int irq, void *data) ctx->msg.complete = at86rf230_irq_status; rc =spi_async (lp->spi, &ctx->msg);if (rc) { +enable_irq (lp->spi->irq);at86rf230_async_error (lp, ctx, rc);return IRQ_NONE ; }
Signature · 1 line
2.0.4