Skip to content
Commit 121a9a11 authored by Patrick Daly's avatar Patrick Daly
Browse files

arm64: dma-mapping: Clean up arm_iommu_attach_device() call flow



Previously the code assumed that iommu_attach_group() would occur after
setting up any dma-specific data structures. But there are several places
where to satisfy this requirement we attach, check some iommu attribute,
and then detach. This is not very clean, so improve it.

Change-Id: I5f115217c892716e3f3911b8177f530a64873267
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 36c547af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment