summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2009-12-15 22:14:29 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2009-12-15 22:14:29 +0000
commita14f9414a15f9f0b9914373041e1046f51b686a9 (patch)
tree78d7345dbfdbb429a59b0b33f9bdd8aeb3cf05f8 /sys
parent0b29334aaaa9f82ab2d9da15e7be649a8feae59b (diff)
don't make mixer items for vendor widgets. we don't know what they do.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/azalia.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 326400f5179..ee27df187ae 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.163 2009/12/15 21:22:04 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.164 2009/12/15 22:14:28 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -2912,6 +2912,8 @@ azalia_widget_init(widget_t *this, const codec_t *codec, nid_t nid)
this->d.volume.cap = result;
break;
case COP_AWTYPE_POWER:
+ /* FALLTHROUGH */
+ case COP_AWTYPE_VENDOR_DEFINED:
this->enable = 0;
break;
}