mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Unlock when ssp tries to close an invalid port
@ 2007-10-24  0:01 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2007-10-24  0:01 UTC (permalink / raw)
  To: lkml

    Unlock when ssp tries to close an invalid port
    Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
---
diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c
index 71766ac..422afee 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;
 	}
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-24  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24  0:01 [PATCH] Unlock when ssp tries to close an invalid port Roel Kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®