summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-07 10:38:30 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-10-25 07:56:23 +0200
commite93102112c1659bd3b5991adc213816c792b9fbd (patch)
tree133affc110f8e92340b78623444bf40f89fbe0fc /drivers
parentat86rf230: squash unnecessary dereferencing (diff)
downloadlinux-e93102112c1659bd3b5991adc213816c792b9fbd.tar.xz
linux-e93102112c1659bd3b5991adc213816c792b9fbd.zip
at86rf230: add missing enable_irq
This patch adds a missing enable_irq when spi_async in isr failed. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ieee802154/at86rf230.c1
1 files changed, 1 insertions, 0 deletions
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;
}