acpihpet(4): disable/reenable acpihpet_delay() during suspend/resume
authorcheloha <cheloha@openbsd.org>
Tue, 8 Nov 2022 14:54:47 +0000 (14:54 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 8 Nov 2022 14:54:47 +0000 (14:54 +0000)
commit6a28311c92099e739572acf4b057aa6386e75add
treeccbf2c4a7e2dc2c60873d7d003df92ec10378c94
parent6a987fc5894d3401681d5ab7aea41419009b814f
acpihpet(4): disable/reenable acpihpet_delay() during suspend/resume

We can't use the HPET to delay(9) after we halt it during suspend.
Disable acpihpet_delay() before we halt the HPET and reenable it after
we restart the HPET during resume.

ok mlarkin@
sys/dev/acpi/acpihpet.c