提交 1f809226 编写于 作者: R Roel Kluin 提交者: Russell King

[ARM] PXA ssp: unlock when ssp tries to close an invalid port

Signed-off-by: NRoel Kluin <12o3l@tiscali.nl>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 52b2bd7f
...@@ -309,6 +309,7 @@ void ssp_exit(struct ssp_dev *dev) ...@@ -309,6 +309,7 @@ void ssp_exit(struct ssp_dev *dev)
if (dev->port > PXA_SSP_PORTS || dev->port == 0) { if (dev->port > PXA_SSP_PORTS || dev->port == 0) {
printk(KERN_WARNING "SSP: tried to close invalid port\n"); printk(KERN_WARNING "SSP: tried to close invalid port\n");
mutex_unlock(&mutex);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册