svn commit: r267762 - head/sys/dev/sound/pcm

John Baldwin jhb at freebsd.org
Mon Jun 23 15:52:18 UTC 2014


On Sunday, June 22, 2014 11:45:40 pm Alexander Kabaev wrote:
> Author: kan
> Date: Mon Jun 23 03:45:39 2014
> New Revision: 267762
> URL: http://svnweb.freebsd.org/changeset/base/267762
> 
> Log:
>   Restore the check for non-NULL dmatag in sndbuf_free.
>   
>   The sound drivers that use own buffer management can use sndbuf_setup
>   and not do any busdma allocation, so the driver will end up with the
>   managed buffer but no valid dma map and tag for it. Avoid calling
>   bus_dmamem_free in such cases.
>   
>   Reported by: ache
>   Missed in review by: kan

Thanks for fixing this.

-- 
John Baldwin


More information about the svn-src-head mailing list