sndiod: Call ctlslot->ops->sync() after every control update
authorratchov <ratchov@openbsd.org>
Mon, 22 Apr 2024 10:43:16 +0000 (10:43 +0000)
committerratchov <ratchov@openbsd.org>
Mon, 22 Apr 2024 10:43:16 +0000 (10:43 +0000)
commit7680e5d311d479b61f7bec6ee1378e03e513dbbd
tree7b4ffbc4bfd02478bcaf2d5e1c413ba09bfaf0a5
parent786dc82eaf66171bb72bda83d3a08e0dc0ae8206
sndiod: Call ctlslot->ops->sync() after every control update

This ensures that the final NULL sioctl_ondesc() call-back
call is not lost.
usr.bin/sndiod/dev.c