diff --git a/debian/changelog b/debian/changelog index 723cad6f0a5fa..a155f3e96cd62 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +linux-wb (6.8.0-wb150) stable; urgency=medium + + * wb8: change error in case of axp20x capacity reading error + + -- Ekaterina Volkova Tue, 03 Feb 2026 16:09:38 +0300 + linux-wb (6.8.0-wb149) stable; urgency=medium * wb8.config: add prp hsr support diff --git a/drivers/power/supply/axp20x_battery.c b/drivers/power/supply/axp20x_battery.c index 5a2f6c718ea4a..1f30a0f485a0b 100644 --- a/drivers/power/supply/axp20x_battery.c +++ b/drivers/power/supply/axp20x_battery.c @@ -307,7 +307,7 @@ static int axp20x_battery_get_prop(struct power_supply *psy, return ret; if (axp20x_batt->data->has_fg_valid && !(reg & AXP22X_FG_VALID)) - return -EINVAL; + return -ENODATA; /* * Fuel Gauge data takes 7 bits but the stored value seems to be