diff options
author | kan <kan@FreeBSD.org> | 2014-06-23 03:45:39 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2014-06-23 03:45:39 +0000 |
commit | e078545a8d3ac54a98f71b281813cfb43d9ae6ca (patch) | |
tree | a6b12b68f6805624124ab6867c48e717f5b3529e /share | |
parent | f4fc0f344494005046953951113833a269f39583 (diff) | |
download | FreeBSD-src-e078545a8d3ac54a98f71b281813cfb43d9ae6ca.zip FreeBSD-src-e078545a8d3ac54a98f71b281813cfb43d9ae6ca.tar.gz |
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
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions