summaryrefslogtreecommitdiff
path: root/net/caif
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-10-30 18:12:41 (GMT)
committerWill Deacon <will.deacon@arm.com>2015-12-17 12:05:32 (GMT)
commit04fa26c71be5d7cf1c63f23f6345dad209f361d7 (patch)
tree5d20c950030f72ce7dfe8bbcbaa88c40c9c4e6b6 /net/caif
parent89df3a96baeaf5d565183e9e9fc35c9974c20d68 (diff)
downloadlinux-04fa26c71be5d7cf1c63f23f6345dad209f361d7.tar.xz
iommu/arm-smmu: Convert DMA buffer allocations to the managed API
The ARM SMMUv3 driver uses dma_{alloc,free}_coherent to manage its queues and configuration data structures. This patch converts the driver to the managed (dmam_*) API, so that resources are freed automatically on device teardown. This greatly simplifies the failure paths and allows us to remove a bunch of handcrafted freeing code. Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'net/caif')
0 files changed, 0 insertions, 0 deletions