Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Clear the busy flag of an alt when a channel is ...



details:   https://anonhg.NetBSD.org/src/rev/50a3d3c33a5c
branches:  trunk
changeset: 525909:50a3d3c33a5c
user:      kent <kent%NetBSD.org@localhost>
date:      Sat Apr 20 17:04:32 2002 +0000

description:
Clear the busy flag of an alt when a channel is closed.

diffstat:

 sys/dev/usb/uaudio.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6b1485b60d2c -r 50a3d3c33a5c sys/dev/usb/uaudio.c
--- a/sys/dev/usb/uaudio.c      Sat Apr 20 16:56:28 2002 +0000
+++ b/sys/dev/usb/uaudio.c      Sat Apr 20 17:04:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uaudio.c,v 1.57 2002/04/05 16:16:43 toshii Exp $       */
+/*     $NetBSD: uaudio.c,v 1.58 2002/04/20 17:04:32 kent Exp $ */
 
 /*
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.57 2002/04/05 16:16:43 toshii Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.58 2002/04/20 17:04:32 kent Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1893,6 +1893,7 @@
 {
        struct as_info *as = &sc->sc_alts[ch->altidx];
 
+       as->sc_busy = 0;
        if (sc->sc_nullalt >= 0) {
                DPRINTF(("uaudio_chan_close: set null alt=%d\n",
                         sc->sc_nullalt));



Home | Main Index | Thread Index | Old Index