qcacld-3.0: Update io smmu mapping to osdev

Update io smmu mapping to osdev during smmu map set up.

Change-Id: I639d4fb515d66c1bafab4303d97546b013fc2078
CRs-Fixed: 2223185
This commit is contained in:
Sravan Kumar Kairam 2018-04-12 11:54:31 +05:30 committed by nshrivas
parent 94a0a991d6
commit 5a8c4ba2e2

View File

@ -2913,6 +2913,7 @@ QDF_STATUS cds_smmu_mem_map_setup(qdf_device_t osdev, bool ipa_present)
}
}
}
osdev->iommu_mapping = mapping;
return QDF_STATUS_SUCCESS;
}
@ -2933,6 +2934,7 @@ int cds_smmu_map_unmap(bool map, uint32_t num_buf, qdf_mem_info_t *buf_arr)
QDF_STATUS cds_smmu_mem_map_setup(qdf_device_t osdev, bool ipa_present)
{
osdev->smmu_s1_enabled = false;
osdev->iommu_mapping = NULL;
return QDF_STATUS_SUCCESS;
}