On Sun, Dec 11, 2016 at 11:23:03PM -0700, Alexandre Ratchov wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   ratc...@cvs.openbsd.org 2016/12/11 23:23:03
> 
> Modified files:
>       sys/dev        : audio.c 
> 
> Log message:
> Remove few useless #ifdef AUDIO_DEBUG, spotted by
> Michael W. Bombardieri <mb at ii.net>. Thanks

This commit contains another change that was intended to go in as a
separate commit, sorry.  Here's what it does:

Don't release the audio mutex between calls to abuf_wgetblk() and
abuf_wcommit(), as interrupt code may "steal" the buffer we're
using and cause abuf_wcommit() to fail.  Similarly, don't release
the mutex between abuf_rgetblk() and abuf_rdrop().

Reply via email to