diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-12-22 02:20:23 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-12-22 02:20:23 +0000 |
commit | a3ddff0ea9e9a3b35f896e2579955d8a0e4e30e4 (patch) | |
tree | bf2d06aaba3d48f2dca4e8bb71a7a18df1bc5502 /sys/dev | |
parent | cf96ebc5261702e72ef273d48d5a711034a0736a (diff) |
disable unusable converters
Diffstat (limited to 'sys/dev')
-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; } |