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

Commit 7a1a57a1 authored by Ghanim Fodi's avatar Ghanim Fodi
Browse files

msm: ipa: fix crash due to access to ipa3_ctx before init



ipa3_ctx is initialized after reading the IPA dts
configurations. So it cannot be accessed by then.

CRs-Fixed: 2274698
Change-Id: I5e4a71890a5a19fee4210954cabae32c94fd4498
Signed-off-by: default avatarGhanim Fodi <gfodi@codeaurora.org>
parent c8be6380
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5963,7 +5963,7 @@ static int get_ipa_dts_configuration(struct platform_device *pdev,
		of_property_read_bool(pdev->dev.of_node,
		"qcom,wlan-ce-db-over-pcie");
	IPADBG("Is wdi_over_pcie ? (%s)\n",
		ipa3_ctx->wdi_over_pcie ? "Yes":"No");
		ipa_drv_res->wdi_over_pcie ? "Yes":"No");

	/*
	 * If we're on emulator, get its interrupt controller's mem