power: qpnp-smbcharger: fix aicl level reporting logic
smbchg_get_aicl_level_ma function can never report AICL_SUSPEND
status as the status bit is reset before AICL_SUSPEND check.
Fix this by checking AICL_SUSPEND bit status before resetting the
bit.
CRs-Fixed: 851902
Change-Id: I8bb9bf60ab13a0665ce4e178ebf25d6d384b9d7a
Signed-off-by:
Ashay Jaiswal <ashayj@codeaurora.org>
Loading
Please register or sign in to comment