power: bq25890: temperature is also an adc value
PATCH 1/1 power: bq25890: temperature is also an adc value
Make sure that a conversion is forced when the power supply is offline so the temperature is valid.
Signed-off-by Angus Ainslie <[email protected]>
--- drivers/power/supply/bq25890_charger.c | 1 + 1 file changed, 1 insertion(+)
drivers/power/supply/bq25890_charger.c +1 -0
@@ -388,6 +388,7 @@ static bool bq25890_is_adc_property(enum power_supply_property psp)switch (psp) {case POWER_SUPPLY_PROP_VOLTAGE_NOW :case POWER_SUPPLY_PROP_CURRENT_NOW : +case POWER_SUPPLY_PROP_TEMP :return true;default :
Signature · 1 line
2.25.1
Hi,
Quoted 5 lines · Angus Ainslie
Make sure that a conversion is forced when the power supply is offline so the temperature is valid.
Signed-off-by Angus Ainslie <[email protected]>---
Thanks, queued to power-supply's fixes branch.
-- Sebastian
Quoted 18 lines
drivers/power/supply/bq25890_charger.c | 1 + 1 file changed, 1 insertion(+)drivers/power/supply/bq25890_charger.c +1
-0@@ -388,6 +388,7 @@ static bool bq25890_is_adc_property(enum power_supply_property psp)switch (psp) {case POWER_SUPPLY_PROP_VOLTAGE_NOW :case POWER_SUPPLY_PROP_CURRENT_NOW : +case POWER_SUPPLY_PROP_TEMP :return true;default :Signature · 1 line
2.25.1
Quoted 6 lines · Sebastian Reichel
Hi,
Quoted 3 lines · Angus Ainslie
Make sure that a conversion is forced when the power supply is offline so the temperature is valid.
Quoted 7 lines
Quoted 2 lines
Signed-off-by Angus Ainslie <[email protected]>---
Thanks, queued to power-supply's fixes branch.
-- Sebastian
Thanks !
Angus
Quoted 19 lines
Quoted 19 lines
drivers/power/supply/bq25890_charger.c | 1 + 1 file changed, 1 insertion(+)drivers/power/supply/bq25890_charger.c +1
-0@@ -388,6 +388,7 @@ static bool bq25890_is_adc_property(enum power_supply_property psp) switch (psp) {case POWER_SUPPLY_PROP_VOLTAGE_NOW :case POWER_SUPPLY_PROP_CURRENT_NOW : +case POWER_SUPPLY_PROP_TEMP :return true;default:
--
2.25.1