summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2009-01-11 11:47:01 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2009-01-11 11:47:01 +0000
commit6a4b0f0cac7b20c5ac0312ffb778e5f47e231e2a (patch)
treefee83f6b25699027a3e1b8ef7f7782127beb6339 /sys/dev/pci/azalia.c
parent6b22b3d99c57e49faf672813f530cea9aee4aa32 (diff)
allow one more level of connections (3 instead of 2) away from DACs
for mixers and selectors when choosing the defaults for outputs.master.slaves.
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r--sys/dev/pci/azalia.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 1877b222d0f..95824a6f8ca 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.113 2009/01/11 11:32:48 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.114 2009/01/11 11:47:00 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -1418,12 +1418,12 @@ azalia_codec_init_volgroups(codec_t *this)
cap = w->outamp_cap;
j = 0;
/* azalia_codec_find_defdac only goes 10 connections deep.
- * Start the connection depth at 8 so it doesn't go more
- * than 2 connections deep.
+ * Start the connection depth at 7 so it doesn't go more
+ * than 3 connections deep.
*/
if (w->type == COP_AWTYPE_AUDIO_MIXER ||
w->type == COP_AWTYPE_AUDIO_SELECTOR)
- j = 8;
+ j = 7;
dac = azalia_codec_find_defdac(this, w->nid, j);
if (dac == -1)
continue;
@@ -1448,7 +1448,7 @@ azalia_codec_init_volgroups(codec_t *this)
j = 0;
if (w->type == COP_AWTYPE_AUDIO_MIXER ||
w->type == COP_AWTYPE_AUDIO_SELECTOR)
- j = 8;
+ j = 7;
dac = azalia_codec_find_defdac(this, w->nid, j);
if (dac == -1)
continue;