diff options
author | Will Deacon <will.deacon@arm.com> | 2015-10-30 19:12:41 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-12-17 13:05:32 +0100 |
commit | 04fa26c71be5d7cf1c63f23f6345dad209f361d7 (patch) | |
tree | 5d20c950030f72ce7dfe8bbcbaa88c40c9c4e6b6 /drivers/video | |
parent | iommu/arm-smmu: Remove #define for non-existent PRIQ_0_OF field (diff) | |
download | linux-04fa26c71be5d7cf1c63f23f6345dad209f361d7.tar.xz linux-04fa26c71be5d7cf1c63f23f6345dad209f361d7.zip |
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 'drivers/video')
0 files changed, 0 insertions, 0 deletions