From a14f9414a15f9f0b9914373041e1046f51b686a9 Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Tue, 15 Dec 2009 22:14:29 +0000 Subject: don't make mixer items for vendor widgets. we don't know what they do. --- sys/dev/pci/azalia.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') 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; } -- cgit v1.2.3