diff options
| -rw-r--r-- | drivers/iommu/msm_iommu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index fc4270733f11..6dde3a9db92e 100644 --- a/drivers/iommu/msm_iommu.c +++ b/drivers/iommu/msm_iommu.c | |||
| @@ -461,10 +461,10 @@ static int msm_iommu_attach_dev(struct iommu_domain *domain, struct device *dev) | |||
| 461 | master->num = | 461 | master->num = |
| 462 | msm_iommu_alloc_ctx(iommu->context_map, | 462 | msm_iommu_alloc_ctx(iommu->context_map, |
| 463 | 0, iommu->ncb); | 463 | 0, iommu->ncb); |
| 464 | if (IS_ERR_VALUE(master->num)) { | 464 | if (IS_ERR_VALUE(master->num)) { |
| 465 | ret = -ENODEV; | 465 | ret = -ENODEV; |
| 466 | goto fail; | 466 | goto fail; |
| 467 | } | 467 | } |
| 468 | config_mids(iommu, master); | 468 | config_mids(iommu, master); |
| 469 | __program_context(iommu->base, master->num, | 469 | __program_context(iommu->base, master->num, |
| 470 | priv); | 470 | priv); |
