提交 e9310211 编写于 作者: A Alexander Aring 提交者: Marcel Holtmann

at86rf230: add missing enable_irq

This patch adds a missing enable_irq when spi_async in isr failed.
Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册