Wait for a reply to the command that switches the touchpad into raw mode.
authorkettenis <kettenis@openbsd.org>
Mon, 21 Nov 2022 14:39:23 +0000 (14:39 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 21 Nov 2022 14:39:23 +0000 (14:39 +0000)
commit4aaec261b206ed5f5eb38105cde5b0013c5e9eb5
tree6f53d3c85de80fe0a27ac295ce54f1e0054ef171
parentedd74edc674adc995f726ebfa0b3a14395d91255
Wait for a reply to the command that switches the touchpad into raw mode.
If we don't do this, the SMC appears to crash on machines with firmware
from macOS 12.6.1.  Insert a small delay of 1ms after sending the command
as polling for the reply too soon makes the command fail.

ok tobhe@
sys/arch/arm64/dev/aplhidev.c