Loading drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +6 −0 Original line number Diff line number Diff line Loading @@ -1513,6 +1513,12 @@ static int cam_populate_smmu_context_banks(struct device *dev, /* set up the iommu mapping for the context bank */ if (type == CAM_QSMMU) { ctx = msm_iommu_get_ctx(cb->name); if (IS_ERR_OR_NULL(ctx)) { rc = PTR_ERR(ctx); pr_err("Invalid pointer of ctx : %s rc = %d\n", cb->name, rc); return -EINVAL; } CDBG("getting QSMMU ctx : %s\n", cb->name); } else { ctx = dev; Loading Loading
drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +6 −0 Original line number Diff line number Diff line Loading @@ -1513,6 +1513,12 @@ static int cam_populate_smmu_context_banks(struct device *dev, /* set up the iommu mapping for the context bank */ if (type == CAM_QSMMU) { ctx = msm_iommu_get_ctx(cb->name); if (IS_ERR_OR_NULL(ctx)) { rc = PTR_ERR(ctx); pr_err("Invalid pointer of ctx : %s rc = %d\n", cb->name, rc); return -EINVAL; } CDBG("getting QSMMU ctx : %s\n", cb->name); } else { ctx = dev; Loading