dwiic_activate did not inform sub-devices with config_activate_children()
authorderaadt <deraadt@openbsd.org>
Sat, 17 Aug 2024 02:24:03 +0000 (02:24 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 17 Aug 2024 02:24:03 +0000 (02:24 +0000)
commit99dfaab19e03e5fa6957e129f0bdec0631da6878
tree6c76a20748b5f4ea48090d67a7928ca3949f1c65
parent0fa92fe210380550247796e6e2b7c166475aa7d0
dwiic_activate did not inform sub-devices with config_activate_children()
calls from the correct places, so their DVACT_QUIESCE and DVACT_WAKEUP
were incorrect, and led to those sub-drivers (ihidev and imt) racing
against dwiic hardware re-initialization.
ok kettenis mlarkin
sys/dev/ic/dwiic.c
sys/dev/pci/dwiic_pci.c