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

Skip to content
Commit 79a4c827 authored by Yue Ma's avatar Yue Ma Committed by Gerrit - the friendly Code Review server
Browse files

cnss2: Deinit MHI after suspending PCIe link



Since there is no graceful handling in WLAN device side to silence
all activities (e.g. page fault) during shutdown, it is possible
that while MHI is freeing remote memory, device is still trying to
access it which will casue page corruption. To avoid such issues,
suspend PCIe link before deinit MHI so that these accesses can be
rejected from PCIe.

Change-Id: Iee9e4e5ae425ac1ded441d9ade345bea4f9a56e9
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 8ca6d749
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment