Re: [PATCH v2] power: supply: cros_charge-control: restore EC state on resume

From: Thomas Weißschuh

Date: Wed Oct 07 2026 - 04:01:53 EST


On 2026-10-05 15:34:18+1100, Andrew Pam wrote:
> The EC resets its charge control configuration when the AP powers off,
> so configured sustainer thresholds and charge behaviour are lost across
> hibernation.

(...)

> Fixes: c6ed48ef5259 ("power: supply: add ChromeOS EC based charge control driver")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Andrew Pam <andrew@xxxxxxxxxxxxxxxx>

Acked-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

(...)

> drivers/power/supply/cros_charge-control.c | 29 +++++++++++++++++++++-
> 1 file changed, 28 insertions(+), 1 deletion(-)

(...)