summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpiasus.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-21 18:49:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-21 18:49:07 +0000
commit53ad902eb700de578566f6e9044c11b20928cb12 (patch)
treed220c173c97d3229373abfa89c14a54b4b804666 /sys/dev/acpi/acpiasus.c
parentd8494422b9c56cdd39f3bfa2270c6bc3407967c3 (diff)
these two drivers should be doing their repair at DVACT_WAKEUP time
rather than DVACT_RESUME in snapshots for a long time, looked at by pirofti kettenis mlarkin
Diffstat (limited to 'sys/dev/acpi/acpiasus.c')
-rw-r--r--sys/dev/acpi/acpiasus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpiasus.c b/sys/dev/acpi/acpiasus.c
index 8beaf985af1..c378da4e264 100644
--- a/sys/dev/acpi/acpiasus.c
+++ b/sys/dev/acpi/acpiasus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpiasus.c,v 1.16 2014/01/30 11:51:51 pirofti Exp $ */
+/* $OpenBSD: acpiasus.c,v 1.17 2014/02/21 18:49:06 deraadt Exp $ */
/* $NetBSD: asus_acpi.c,v 1.2.2.2 2008/04/03 12:42:37 mjf Exp $ */
/*
* Copyright (c) 2007, 2008 Jared D. McNeill <jmcneill@invisible.ca>
@@ -210,7 +210,7 @@ acpiasus_activate(struct device *self, int act)
struct aml_value ret;
switch (act) {
- case DVACT_RESUME:
+ case DVACT_WAKEUP:
acpiasus_init(self);
bzero(&cmd, sizeof(cmd));