diff options
-rw-r--r-- | sys/dev/pci/azalia_codec.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c index 9ca8dafa04c..c08cf1752c1 100644 --- a/sys/dev/pci/azalia_codec.c +++ b/sys/dev/pci/azalia_codec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia_codec.c,v 1.82 2008/12/22 00:54:04 jakemsr Exp $ */ +/* $OpenBSD: azalia_codec.c,v 1.83 2008/12/22 02:20:22 jakemsr Exp $ */ /* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */ /*- @@ -411,6 +411,14 @@ done: group->ngroups++; } + for (i = 0; i < nall_convs; i++) { + for (j = 0; j < nconvs; j++) + if (convs[j] == all_convs[i]) + break; + if (j == nconvs) + this->w[all_convs[i]].enable = 0; + } + return 0; } |