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

Skip to content
Commit 59e968fe authored by Jeff Hugo's avatar Jeff Hugo Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: socinfo: Handle EPROBE_DEFER from SMEM



The SMEM driver may return EPROBE_DEFER to indicate it is currently not
ready to handle client requests.  socinfo does not check for this error,
and may attempt to dereference an invalid pointer.

Amend the SMEM return checks in socinfo to also check for EPROBE_DEFER.

Change-Id: Ibb8786e5696a8e370efbc1453f45ea1f4465ee5d
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 90d52535
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