Browse Source

Merge "msm: ipa: Get device pointers if smmu is disabled"

qctecmdr 3 years ago
parent
commit
4e8750865d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/platform/msm/ipa/ipa_v3/ipa.c

+ 2 - 0
drivers/platform/msm/ipa/ipa_v3/ipa.c

@@ -10711,6 +10711,8 @@ static int ipa3_attach_to_smmu(void)
 			}
 		}
 	} else {
+		ipa3_ctx->pdev = &ipa3_ctx->master_pdev->dev;
+		ipa3_ctx->uc_pdev = &ipa3_ctx->master_pdev->dev;
 		IPADBG("smmu is disabled\n");
 	}
 	return 0;