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:
Stanimir Varbanov <stanimir.varbanov@linaro.org>
Loading
Please sign in to comment