Skip to content

Commit

Permalink
at86rf230: add missing enable_irq
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
alexaring authored and holtmann committed Oct 25, 2014
1 parent 9056636 commit e931021
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ieee802154/at86rf230.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e931021

Please sign in to comment.