summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2006-05-11 19:09:25 +0000
committermrg <mrg@NetBSD.org>2006-05-11 19:09:25 +0000
commit187c39fd03b419dc4e4d7ea45ade930e5f97e9d4 (patch)
tree48f4b1e58a0c6f7f61ee3d3299d09476205a9708 /sys/dev/usb
parent80044be1b4fcf2ca1343ad06fc993dab6310a2df (diff)
in uaudio_process_as() initialise ai.aformat and ai.ifaceh.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uaudio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c
index 4f870a07eec..ef91716bed9 100644
--- a/sys/dev/usb/uaudio.c
+++ b/sys/dev/usb/uaudio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: uaudio.c,v 1.102 2006/04/14 17:00:55 christos Exp $ */
+/* $NetBSD: uaudio.c,v 1.103 2006/05/11 19:09:25 mrg Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.102 2006/04/14 17:00:55 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uaudio.c,v 1.103 2006/05/11 19:09:25 mrg Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1706,6 +1706,8 @@ uaudio_process_as(struct uaudio_softc *sc, const char *tbuf, int *offsp,
ai.edesc1 = epdesc1;
ai.asf1desc = asf1d;
ai.sc_busy = 0;
+ ai.aformat = NULL;
+ ai.ifaceh = NULL;
uaudio_add_alt(sc, &ai);
#ifdef UAUDIO_DEBUG
if (ai.attributes & UA_SED_FREQ_CONTROL)