power: qpnp-smbcharger: always change aicl done irq wake status
Currently if the smb135x parallel charger driver has not registered the
usb-parallel power supply, the aicl done irq wake status will not be
changed in the smbcharger driver. This is incorrect since the smbcharger
driver may probe before the parallel charger driver and skip enabling
the aicl_done irq as wakeable.
Fix this by checking if parallel charging is configured instead of
relying on the parallel charger power supply being registered.
Change-Id: Ife01276f4e8dbd6271242cbee3f34719b6960edd
Signed-off-by:
Xiaozhe Shi <xiaozhes@codeaurora.org>
Loading
Please register or sign in to comment