From fbadbeeefe185d0b524e0d7c729461c9a3d69b92 Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Sun, 30 Nov 2008 22:01:35 +0000 Subject: oops. don't continue on to the next widget here. there may be other controls on the widget that need to be configured. --- sys/dev/pci/azalia_codec.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/dev') 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++; } } -- cgit v1.2.3