diff options
author | Roel Kluin | 2007-11-21 14:51:47 -0800 |
---|---|---|
committer | Russell King | 2007-11-26 14:39:04 +0000 |
commit | 1f809226b9f4d3a89e42212fed7b482e8b30f77c (patch) | |
tree | b96c3083050825a3a640bb98415ab60730dffe7b /arch/arm | |
parent | 52b2bd7f97e2677f8d6f5cef675f86bba732e860 (diff) |
[ARM] PXA ssp: unlock when ssp tries to close an invalid port
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/ssp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c index 71766ac0328b..422afee88169 100644 --- 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; } |