Skip to content
Commit 9afea573 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Joerg Roedel
Browse files

iommu/sprd: Release dma buffer to avoid memory leak



When attaching to a domain, the driver would alloc a DMA buffer which
is used to store address mapping table, and it need to be released
when the IOMMU domain is freed.

Signed-off-by: default avatarChunyan Zhang <chunyan.zhang@unisoc.com>
Link: https://lore.kernel.org/r/20230331033124.864691-2-zhang.lyra@gmail.com
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent e8d018dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment