msm: camera: Check for valid mctl handle before using it.
Everytime we get the mctl handle, check if its valid or not
to avoid null ptr dereferences.
(cherry picked from commit c258cd8dae56a95e2bc3a299501f1e988bfac113)
Change-Id: Iff8bb4886b3d94dc55ee13ad8470e2c8b1a6f4ee
Signed-off-by:
Kiran Kumar H N <hurlisal@codeaurora.org>
Loading
Please sign in to comment