Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1f809226b9f4d3a89e42212fed7b482e8b30f77c
Commit:     1f809226b9f4d3a89e42212fed7b482e8b30f77c
Parent:     52b2bd7f97e2677f8d6f5cef675f86bba732e860
Author:     Roel Kluin <[EMAIL PROTECTED]>
AuthorDate: Wed Nov 21 14:51:47 2007 -0800
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Mon Nov 26 14:39:04 2007 +0000

    [ARM] PXA ssp: unlock when ssp tries to close an invalid port
    
    Signed-off-by: Roel Kluin <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 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 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;
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to