Replace selwakeup() with KNOTE() in audio(4)
authorvisa <visa@openbsd.org>
Sun, 31 Jul 2022 03:31:36 +0000 (03:31 +0000)
committervisa <visa@openbsd.org>
Sun, 31 Jul 2022 03:31:36 +0000 (03:31 +0000)
commit3d925bf336086bfaf7fb1ff4f4e980e2dadc7b1c
treed84423af714674379724b7b7d5a59b7a07c31840
parente0b9be3e0f69517ed4d9e05ce2eedb4d2f3e91dd
Replace selwakeup() with KNOTE() in audio(4)

KNOTE() is safe to use at IPL_AUDIO. Remove the now-unnecessary
deferring that uses soft interrupts.

Remove selwakeup() calls from audio_detach() because klist_invalidate()
wakes up any remaining kevent/poll/select waiters.

OK mpi@
sys/dev/audio.c