power: supply: qti_battery_charger: Fix FCC configuration
With adding support to restricted charging through properties restricted_chg and restricted_cur under /sys/class/qcom-battery, configuring fast charging current (FCC) via "charge_control" property in battery power supply is not working as expected. Especially, when the restricted charging is disabled, FCC configured (i.e. after setting it in ascending order first and in descending order) is based on the previous request instead of the current request. Fix it. Fixes: 9c3f7e47 ("power: supply: qti_battery_charger: add some more properties") Change-Id: I6c591a0e1e914b37764350fb7389824410800868 Signed-off-by:Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment