Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/dev/usb Pull up revision 1.61 (requested by nakayam...
details: https://anonhg.NetBSD.org/src/rev/ff69d96d3aa7
branches: netbsd-1-6
changeset: 530440:ff69d96d3aa7
user: grant <grant%NetBSD.org@localhost>
date: Tue Jun 24 09:46:44 2003 +0000
description:
Pull up revision 1.61 (requested by nakayama in ticket #1334):
Correct test for busy-ness when setting parameters.
diffstat:
sys/dev/usb/uaudio.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r d7fe049d0db5 -r ff69d96d3aa7 sys/dev/usb/uaudio.c
--- a/sys/dev/usb/uaudio.c Tue Jun 24 09:45:16 2003 +0000
+++ b/sys/dev/usb/uaudio.c Tue Jun 24 09:46:44 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uaudio.c,v 1.60 2002/05/18 15:14:39 kent Exp $ */
+/* $NetBSD: uaudio.c,v 1.60.2.1 2003/06/24 09:46:44 grant Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.60 2002/05/18 15:14:39 kent Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.60.2.1 2003/06/24 09:46:44 grant Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2352,8 +2352,8 @@
if (sc->sc_dying)
return (EIO);
- if ((mode == AUMODE_RECORD && sc->sc_recchan.pipe != NULL)
- || (mode == AUMODE_PLAY && sc->sc_playchan.pipe != NULL))
+ if ((usemode == AUMODE_RECORD && sc->sc_recchan.pipe != NULL)
+ || (usemode == AUMODE_PLAY && sc->sc_playchan.pipe != NULL))
return (EBUSY);
if (usemode & AUMODE_PLAY && sc->sc_playchan.altidx != -1)
Home |
Main Index |
Thread Index |
Old Index