summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auich.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-09-12 03:17:35 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-09-12 03:17:35 +0000
commit570c5986aba082580f9e18bcba598744121eefb0 (patch)
treeb29c9e0d1326e91c5f5c4878055682e9cf545cf8 /sys/dev/pci/auich.c
parent04ec42fb755abb5456dd12836cd9672309b4c47d (diff)
silly me. use the switch() variable, not the case value.
Diffstat (limited to 'sys/dev/pci/auich.c')
-rw-r--r--sys/dev/pci/auich.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c
index cb9d5939ead..6d66b6ec0e5 100644
--- a/sys/dev/pci/auich.c
+++ b/sys/dev/pci/auich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auich.c,v 1.92 2010/09/12 02:04:31 jakemsr Exp $ */
+/* $OpenBSD: auich.c,v 1.93 2010/09/12 03:17:34 jakemsr Exp $ */
/*
* Copyright (c) 2000,2001 Michael Shalayeff
@@ -566,13 +566,13 @@ auich_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:
break;
case DVACT_RESUME:
auich_resume(sc);
- rv = config_activate_children(self, DVACT_RESUME);
+ rv = config_activate_children(self, act);
break;
case DVACT_DEACTIVATE:
if (sc->audiodev != NULL)