diff options
author | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-09-12 03:17:35 +0000 |
---|---|---|
committer | Jacob Meuser <jakemsr@cvs.openbsd.org> | 2010-09-12 03:17:35 +0000 |
commit | 570c5986aba082580f9e18bcba598744121eefb0 (patch) | |
tree | b29c9e0d1326e91c5f5c4878055682e9cf545cf8 /sys/dev/pci/azalia.c | |
parent | 04ec42fb755abb5456dd12836cd9672309b4c47d (diff) |
silly me. use the switch() variable, not the case value.
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r-- | sys/dev/pci/azalia.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |