From: Alexander Aring Date: Tue, 7 Oct 2014 08:38:30 +0000 (+0200) Subject: at86rf230: add missing enable_irq X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e93102112c1659bd3b5991adc213816c792b9fbd;p=openwrt%2Fstaging%2Fblogic.git at86rf230: add missing enable_irq This patch adds a missing enable_irq when spi_async in isr failed. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 09503fbd9953..8754f158abbf 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -911,6 +911,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(irq); at86rf230_async_error(lp, ctx, rc); return IRQ_NONE; }