Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37dc636f authored by Cheng Zeng's avatar Cheng Zeng
Browse files

msm: ipa: Get device pointers if smmu is disabled



If arm-smmu is not configured, smmu cb will not be
probed, still need to get pdev and uc_pdev.

Signed-off-by: default avatarCheng Zeng <quic_chenzeng@quicinc.com>
parent 93c0b93b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9191,6 +9191,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;