add bus_dmamap_unload in ql_free_dmabuf()
MFC after:5 days
This commit is contained in:
parent
6fc1c2befc
commit
08d82f85d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314062
@ -735,6 +735,7 @@ ql_alloc_dmabuf(qla_host_t *ha, qla_dma_t *dma_buf)
|
||||
void
|
||||
ql_free_dmabuf(qla_host_t *ha, qla_dma_t *dma_buf)
|
||||
{
|
||||
bus_dmamap_unload(dma_buf->dma_tag, dma_buf->dma_map);
|
||||
bus_dmamem_free(dma_buf->dma_tag, dma_buf->dma_b, dma_buf->dma_map);
|
||||
bus_dma_tag_destroy(dma_buf->dma_tag);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user