diff options
author | Alexander Aring <alex.aring@gmail.com> | 2014-10-07 10:38:30 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-10-25 07:56:23 +0200 |
commit | e93102112c1659bd3b5991adc213816c792b9fbd (patch) | |
tree | 133affc110f8e92340b78623444bf40f89fbe0fc /drivers | |
parent | 90566363b5f5e7660a2cfd9b8e70ccf51a1dbc44 (diff) | |
download | linux-stable-e93102112c1659bd3b5991adc213816c792b9fbd.tar.gz linux-stable-e93102112c1659bd3b5991adc213816c792b9fbd.tar.bz2 linux-stable-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.c | 1 |
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; } |