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

Commit 3547f54f authored by Sameer Thalappil's avatar Sameer Thalappil
Browse files

icnss: Shutdown Adrastea before remapping MSA0



MSA0 is remapped to HLOS during SSR/PDR for ramdump purposes.
Remap this memory region only after Adrastea is being shutdown, otherwise
Adrastea could still try to access this region resulting in SMMU fault.

CRs-Fixed: 1082630
Change-Id: I490b5679de4cb4837f5ed5d4e40d339e12c8ecc9
Signed-off-by: default avatarSameer Thalappil <sameert@codeaurora.org>
parent ce610f2f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2612,10 +2612,10 @@ static int icnss_driver_event_pd_service_down(struct icnss_priv *priv,
		icnss_call_driver_remove(priv);

out:
	icnss_remove_msa_permissions(priv);

	ret = icnss_hw_power_off(priv);

	icnss_remove_msa_permissions(priv);

	kfree(data);

	return ret;