Commit e9310211 authored by Alexander Aring's avatar Alexander Aring Committed by Marcel Holtmann

at86rf230: add missing enable_irq

This patch adds a missing enable_irq when spi_async in isr failed.
Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 90566363
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment