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

Skip to content
Commit 41fb6e92 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

mhi: core: confirm MHI offset is valid before using it



PCIe link can go down anytime asynchronously without host
knowing. In event of a link-down, MMIO reads will always
return 0xffffffff.  Confirm the read value is valid prior
to executing further.

CRs-Fixed: 1030692
Change-Id: If052a1a31c62a81f380cec3f523b605b38a33847
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent d0b53a6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment