summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2009-04-25 05:07:57 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2009-04-25 05:07:57 +0000
commit286f3c5ef737a689774eafa1364d6322efde0870 (patch)
treebd626dd55e2c07b723c82af435faa868247ef94d
parenta012b11d206ce3a20a589dec59627d9a6dc763c5 (diff)
explicitely enable the "audio function" widget. it can be a valid
source or endpoint.
-rw-r--r--sys/dev/pci/azalia.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 5baf0daf694..f03f7676361 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.124 2009/04/25 05:02:40 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.125 2009/04/25 05:07:56 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -1260,6 +1260,7 @@ azalia_codec_init(codec_t *this)
sizeof(this->w[CORB_NID_ROOT].name));
strlcpy(this->w[this->audiofunc].name, "hdaudio",
sizeof(this->w[this->audiofunc].name));
+ this->w[this->audiofunc].enable = 1;
FOR_EACH_WIDGET(this, i) {
err = azalia_widget_init(&this->w[i], this, i);