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

Skip to content
Commit 1a0b1cc3 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: smb1390: Fix NULL pointer dereference issue



There exists a possible NULL pointer dereference issue due
to CP_DISABLE voter callback voting for CP_AWAKE votable which
is created after the creation of CP_DISABLE voter.

Fix this by creating CP_AWAKE votable prior to creation of CP_DISABLE
votable.

Change-Id: Ia838909aee1ed58a9b0b15779e7a8f32d6991a6c
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent d96627d1
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