diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-16 06:47:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-16 06:47:29 +0000 |
commit | d594b92480b32159dbe2cd619d5b5a7a9445c409 (patch) | |
tree | 55a43e5e9f462d433bddf9b9e6348de8458a8c86 /sys/dev/acpi/acpi_x86.c | |
parent | 0090144ee53456478a2025fd9d60d83610c1a211 (diff) |
If the lid is closed, suspend_finish() now returns EAGAIN, so go to the top
and restart the suspend all over again. This was previously done by issuing
a task to the acpi thread, but this is simpler.
(I want to try to duplicate these tests earlier in the resume path...)
Diffstat (limited to 'sys/dev/acpi/acpi_x86.c')
0 files changed, 0 insertions, 0 deletions