Commit 488cada0 authored by Shilpa Mamidi's avatar Shilpa Mamidi Committed by Krishnankutty Kolathappilly
Browse files

msm: cpp: Adding null check for regulator disable



Adding null check before regulator enable and also
resetting regulator variable to NULL after regulator disable.
This will avoid using previously disabled regulator in next
session.

Change-Id: I0e8f2f71152064972128f707653e3a2295e1d408
Signed-off-by: default avatarShilpa Mamidi <shilpam@codeaurora.org>
parent c1676348
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment