power: qpnp-smbcharger: Fix DCIN reporting
The DCIN present status was reported based on voltage detected on
the input. Instead simply report present if the input is not under/over
voltage. The DCIN online was reported as long as the DCIN was present
and not disabled by the user. Instead update the code to report online
only when DCIN is found to be the active power path and that charging
is in progress.
Change-Id: I6ec6fed13d9f68bba06cab5fa871ec592855d2f9
Signed-off-by:
Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Loading
Please register or sign in to comment