Commit c5314917 authored by Tianyi Gou's avatar Tianyi Gou
Browse files

msm: xo: Add NULL pointer and error pointer check



Add NULL pointer check since msm_get_xo() might return NULL due to
RPM is not available. Also add error pointer check to make msm_xo_*
APIs more defensive.

Change-Id: Ie20ae974215e05430a3d5d8cc826774cbe243f51
Signed-off-by: default avatarTianyi Gou <tgou@codeaurora.org>
parent fc2b8d83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment