diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2017-01-10 15:38:27 -0800 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2017-01-30 15:41:50 -0800 |
| commit | 684caa6de452edc82398b9f5b35c706caa535225 (patch) | |
| tree | 77b72f3f89b854a66b3c7be15b1ed428daf0a792 /include/linux | |
| parent | c2ccc0e909a0788522c5ce177718845bdbbe425f (diff) | |
qcom: qpnp-fg-gen3: handle late creation of battery psy
Currently if battery psy is not seen while the profile is loaded during
initialization, it doesn't configure the float voltage and the fast charge
current value when battery psy comes in later.
Fix this by setting those parameters whenever batt_psy is seen for the
first time.
While at it change the name of this function from is_charger_available to
batt_psy_initialized to be in line with the added steps.
Change-Id: I31eb364e5fe33cc4b45aba4027150e4c21e74451
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
