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 Don't forget to destroy sc_cmdbusy_cv. Fro...
details: https://anonhg.NetBSD.org/src/rev/2c7b7f2a5317
branches: nick-nhusb
changeset: 334521:2c7b7f2a5317
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jun 10 14:44:56 2016 +0000
description:
Don't forget to destroy sc_cmdbusy_cv. From t-hash.
diffstat:
sys/dev/usb/xhci.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 92290decadb6 -r 2c7b7f2a5317 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c Fri Jun 10 14:43:35 2016 +0000
+++ b/sys/dev/usb/xhci.c Fri Jun 10 14:44:56 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xhci.c,v 1.28.2.72 2016/06/10 14:43:35 skrll Exp $ */
+/* $NetBSD: xhci.c,v 1.28.2.73 2016/06/10 14:44:56 skrll Exp $ */
/*
* Copyright (c) 2013 Jonathan A. Kollasch
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.72 2016/06/10 14:43:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.28.2.73 2016/06/10 14:44:56 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -553,6 +553,7 @@
xhci_op_write_8(sc, XHCI_CRCR, 0);
xhci_ring_free(sc, &sc->sc_cr);
cv_destroy(&sc->sc_command_cv);
+ cv_destroy(&sc->sc_cmdbusy_cv);
xhci_rt_write_4(sc, XHCI_ERSTSZ(0), 0);
xhci_rt_write_8(sc, XHCI_ERSTBA(0), 0);
Home |
Main Index |
Thread Index |
Old Index