diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-12-26 10:07:49 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2008-12-26 10:07:49 +0000 |
commit | c7304fafd435d5148cc4fec5a6ed0daba98bc955 (patch) | |
tree | 03af4ce8c789f49f7f7aac9294c4d9c4d750e337 /sys/dev | |
parent | 21581f28cdc47183be5cec1dd1868c82d042cded (diff) |
don't try to create mutesets for selectors, they are only for
mixers. problem noticed by Tas. thanks!
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/azalia_codec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c index 2c054eb7074..81173b606e6 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.96 2008/12/26 08:23:18 jakemsr Exp $ */ +/* $OpenBSD: azalia_codec.c,v 1.97 2008/12/26 10:07:48 jakemsr Exp $ */ /* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */ /*- @@ -597,8 +597,7 @@ azalia_generic_mixer_init(codec_t *this) /* input mute */ if (w->widgetcap & COP_AWCAP_INAMP && w->inamp_cap & COP_AMPCAP_MUTE) { - if (w->type != COP_AWTYPE_AUDIO_SELECTOR && - w->type != COP_AWTYPE_AUDIO_MIXER) { + if (w->type != COP_AWTYPE_AUDIO_MIXER) { MIXER_REG_PROLOG; snprintf(d->label.name, sizeof(d->label.name), "%s_mute", w->name); |