diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-05-20 09:12:36 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-05-20 09:12:36 +0000 |
commit | 7e43f03488757de20bfd6313ce06c7ee25c0f93f (patch) | |
tree | ac81935cffbe9f946c9b83117320ea431a1ee15c | |
parent | 055d61db631a5149b11a75248d416ae5ecd694e4 (diff) |
Wake up the acpi thread after scheduling a gpio event.
ok mpi@
-rw-r--r-- | sys/dev/acpi/acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 6a486cc51ae..9536a7e6f23 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.343 2018/05/17 20:46:45 kettenis Exp $ */ +/* $OpenBSD: acpi.c,v 1.344 2018/05/20 09:12:35 kettenis Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org> @@ -861,6 +861,7 @@ acpi_gpio_event(void *arg) struct acpi_gpio_event *ev = arg; acpi_addtask(acpi_softc, acpi_gpio_event_task, ev->node, ev->pin); + acpi_wakeup(acpi_softc); return 1; } |