power: smb5-lib: Cancel alarm_timer conditionally
Cancel the alarm timer and work only if the charger
termination workaround is enabled to avoid
a NULL pointer exception.
Change-Id: I573239db0f373d9188fc379653cedd305d2a552c
Signed-off-by:
Anirudh Ghayal <aghayal@codeaurora.org>
Loading
Please register or sign in to comment