Skip to content

Commit

Permalink
[ARM] PXA ssp: unlock when ssp tries to close an invalid port
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roel Kluin authored and Russell King committed Nov 26, 2007
1 parent 52b2bd7 commit 1f80922
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/mach-pxa/ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1f80922

Please sign in to comment.