aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-06-10 14:34:39 -0400
committerMarek Szyprowski <m.szyprowski@samsung.com>2013-06-28 09:14:27 -0400
commit13987d68bcf476a93fa864ea4e58755f1bc4bd30 (patch)
treee13aca0a721c57bd36d3c0b2fb42488feb62aef6 /arch/avr32/mach-at32ap
parent836bfa0d2930b7ec236aa488f01678c92eb5f0de (diff)
ARM: dma-mapping: convert DMA direction into IOMMU protection attributes
IOMMU mappings take a prot parameter, identifying the protection bits to enforce on the newly created mapping (READ or WRITE). The ARM dma-mapping framework currently just passes 0 as the prot argument, resulting in faulting mappings. This patch infers the protection attributes based on the direction of the DMA transfer. Cc: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'arch/avr32/mach-at32ap')
0 files changed, 0 insertions, 0 deletions