projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52b2bd7
)
[ARM] PXA ssp: unlock when ssp tries to close an invalid port
author
Roel Kluin
<12o3l@tiscali.nl>
Wed, 21 Nov 2007 22:51:47 +0000
(14:51 -0800)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Mon, 26 Nov 2007 14:39:04 +0000
(14:39 +0000)
Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/ssp.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/ssp.c
b/arch/arm/mach-pxa/ssp.c
index
71766ac
..
422afee
100644
(file)
--- a/
arch/arm/mach-pxa/ssp.c
+++ b/
arch/arm/mach-pxa/ssp.c
@@
-309,6
+309,7
@@
void ssp_exit(struct ssp_dev *dev)
if (dev->port > PXA_SSP_PORTS || dev->port == 0) {
printk(KERN_WARNING "SSP: tried to close invalid port\n");
+ mutex_unlock(&mutex);
return;
}