Commit 4682a1db authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by Srinivas Kandagatla
Browse files

iommu: qcom: v1: move iommu-sec pgtable allocation



move the allocation of iommu-sec page table into msm_iommu_dev
in order to use properly initialised struct device.
The dma_alloc_attrs would fail to allocate memory with the fake
struct device which was the case before this change.

Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
parent a189f35a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment