summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r--sys/dev/pci/azalia.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index de94553d164..65f8e9a923f 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.16 2006/06/21 05:17:48 brad Exp $ */
+/* $OpenBSD: azalia.c,v 1.17 2006/06/23 06:27:11 miod Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -412,7 +412,7 @@ azalia_pci_activate(struct device *self, enum devact act)
ret = 0;
switch (act) {
case DVACT_ACTIVATE:
- return EOPNOTSUPP;
+ return ret;
case DVACT_DEACTIVATE:
if (sc->audiodev != NULL)
ret = config_deactivate(sc->audiodev);