power: qpnp-smbcharger: fix unbalanced wake disable for aicl interrupt
There is a bug in the driver where the aicl interrupt was requested to
be wake enabled even before it was requested. This causes the wake
status flag to be out of sync with the actual interrupt wake status.
Fix this by ensuring that the wake operations on the interrupt happen
after requesting it.
Change-Id: Iecba46d61dcde7111ef42effd370d4c7ca04a688
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment