summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2008-11-30 22:01:35 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2008-11-30 22:01:35 +0000
commitfbadbeeefe185d0b524e0d7c729461c9a3d69b92 (patch)
tree22cc8753493687c15a6fbcfc2f107483ae50bf79
parent5ac69d7130ba640f3b993316a8037c9a10ca210a (diff)
oops. don't continue on to the next widget here. there may be other
controls on the widget that need to be configured.
-rw-r--r--sys/dev/pci/azalia_codec.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/azalia_codec.c b/sys/dev/pci/azalia_codec.c
index da6a33d77c1..c14e5b0eca8 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.78 2008/11/30 21:58:43 jakemsr Exp $ */
+/* $OpenBSD: azalia_codec.c,v 1.79 2008/11/30 22:01:34 jakemsr Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
@@ -687,9 +687,8 @@ azalia_generic_mixer_init(codec_t *this)
l++;
}
d->un.s.num_mem = l;
- if (l == 0)
- continue;
- this->nmixers++;
+ if (l != 0)
+ this->nmixers++;
}
}