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: Sameer Thalappil <sameert@codeaurora.org>
This commit is contained in:
parent
ce610f2fc9
commit
3547f54f46
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue