Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nick-nhusb]: src/sys/dev/usb Fix locking botch



details:   https://anonhg.NetBSD.org/src/rev/c46e9a1e2bde
branches:  nick-nhusb
changeset: 804483:c46e9a1e2bde
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Dec 21 12:26:38 2015 +0000

description:
Fix locking botch

diffstat:

 sys/dev/usb/ehci.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 928651c2e129 -r c46e9a1e2bde sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Sat Dec 19 10:11:13 2015 +0000
+++ b/sys/dev/usb/ehci.c        Mon Dec 21 12:26:38 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.234.2.69 2015/12/08 12:48:55 skrll Exp $ */
+/*     $NetBSD: ehci.c,v 1.234.2.70 2015/12/21 12:26:38 skrll Exp $ */
 
 /*
  * Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.69 2015/12/08 12:48:55 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.70 2015/12/21 12:26:38 skrll Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -2248,7 +2248,7 @@
                next = itd->xfer_next;
                ehci_free_itd_locked(sc, itd);
        }
-       mutex_enter(&sc->sc_lock);
+       mutex_exit(&sc->sc_lock);
 }
 
 Static void



Home | Main Index | Thread Index | Old Index