svn commit: r267762 - head/sys/dev/sound/pcm
Hans Petter Selasky
hps at selasky.org
Tue Jun 24 04:29:13 UTC 2014
On 06/23/14 16:15, John Baldwin wrote:
> 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.
>
Excellent!
--HPS
More information about the svn-src-head
mailing list