diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-12-15 22:14:29 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2009-12-15 22:14:29 +0000 |
commit | a14f9414a15f9f0b9914373041e1046f51b686a9 (patch) | |
tree | 78d7345dbfdbb429a59b0b33f9bdd8aeb3cf05f8 /sys | |
parent | 0b29334aaaa9f82ab2d9da15e7be649a8feae59b (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.c | 4 |
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; } |