You need to sign in or sign up before continuing.
提交 c4e6dcfa 编写于 作者: A Axel Lin 提交者: Greg Kroah-Hartman

serial: sprd: Fix missing spin_unlock in sprd_handle_irq()

Fix return from sprd_handle_irq() with spin_lock held.
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Reviewed-by: NPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 30a22c21
......@@ -293,8 +293,10 @@ static irqreturn_t sprd_handle_irq(int irq, void *dev_id)
ims = serial_in(port, SPRD_IMSR);
if (!ims)
if (!ims) {
spin_unlock(&port->lock);
return IRQ_NONE;
}
serial_out(port, SPRD_ICLR, ~0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册