Re: [PATCH] power: supply: surface_battery: Defer AC-triggered update across suspend
From: Sebastian Reichel
Date: Tue Dec 01 2026 - 22:08:56 EST
On Mon, 16 Nov 2026 20:49:39 -0700, Ricky Sorrell wrote:
> When the AC adapter is plugged in or removed, spwr_external_power_changed()
> schedules a battery state update after five seconds, on system_wq. That
> workqueue is not frozen for system suspend. If the system starts to
> suspend within those five seconds, for example when the charger is
> unplugged and the lid closed straight away, the work runs after the
> Surface Aggregator controller has been suspended. The request then trips
> the WARN_ON() in ssam_request_do_sync_with_buffer() and fails:
>
> [...]
Applied, thanks!
[1/1] power: supply: surface_battery: Defer AC-triggered update across suspend
commit: 7b4221256a4ed1d0b90de3d1ea00ade25c29670b
Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>