diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2007-11-21 23:51:47 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-11-26 15:39:04 +0100 |
commit | 1f809226b9f4d3a89e42212fed7b482e8b30f77c (patch) | |
tree | b96c3083050825a3a640bb98415ab60730dffe7b /arch | |
parent | [ARM] 4654/1: pxa: update default MFP register value (diff) | |
download | linux-1f809226b9f4d3a89e42212fed7b482e8b30f77c.tar.xz linux-1f809226b9f4d3a89e42212fed7b482e8b30f77c.zip |
[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')
-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; } |