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:
Umang Agrawal <uagrawal@codeaurora.org>
Loading
Please register or sign in to comment