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

Commit 2d4eac63 authored by Shilpa Mamidi's avatar Shilpa Mamidi
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 b72575d0
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