From 570c5986aba082580f9e18bcba598744121eefb0 Mon Sep 17 00:00:00 2001 From: Jacob Meuser Date: Sun, 12 Sep 2010 03:17:35 +0000 Subject: silly me. use the switch() variable, not the case value. --- sys/dev/pci/azalia.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci/azalia.c') diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 6bd6637af89..b8558328bdb 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.187 2010/09/12 02:35:10 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.188 2010/09/12 03:17:34 jakemsr Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -540,14 +540,14 @@ azalia_pci_activate(struct device *self, int act) case DVACT_ACTIVATE: break; case DVACT_QUIESCE: - rv = config_activate_children(self, DVACT_QUIESCE); + rv = config_activate_children(self, act); break; case DVACT_SUSPEND: azalia_suspend(sc); break; case DVACT_RESUME: azalia_resume(sc); - rv = config_activate_children(self, DVACT_RESUME); + rv = config_activate_children(self, act); break; case DVACT_DEACTIVATE: if (sc->audiodev != NULL) -- cgit v1.2.3