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

Skip to content
Commit 4e63e286 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Stephen Boyd
Browse files

power: qpnp-bms: request interrupts at the end of probe



The current driver requests interrupts before it initializes other
data structures. This creates NULL pointer exceptions if an interrupt
triggers before the data structures are initialized.

Move requesting interrupts towards the end of the probe function, after
data structures are initialized.

CRs-Fixed: 506597
Change-Id: I94a524a0a1b8a5fa9372e414bcf36d8448fc1e4a
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 5c3af051
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