commit | c5314917351bf193c3ebcf8338bc1241bf5a9d1e | [log] [tgz] |
---|---|---|
author | Tianyi Gou <tgou@codeaurora.org> | Tue Oct 25 16:44:54 2011 -0700 |
committer | Tianyi Gou <tgou@codeaurora.org> | Wed Oct 26 11:08:57 2011 -0700 |
tree | 0afae60b9e8385edf8fb15592227c65f669f4c2b | |
parent | fc2b8d83843a5805964bd469a9979c973bed388b [diff] |
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: Tianyi Gou <tgou@codeaurora.org>