Re: [PATCH 1/4] power: supply: axp288_charger: Do not cancel work before initializing it

From: Sebastian Reichel

Date: Mon Mar 02 2026 - 19:02:52 EST



On Fri, 20 Feb 2026 18:49:39 +0100, Krzysztof Kozlowski wrote:
> Driver registered devm handler to cancel_work_sync() before even the
> work was initialized, thus leading to possible warning from
> kernel/workqueue.c on (!work->func) check, if the error path was hit
> before the initialization happened.
>
> Use devm_work_autocancel() on each work item independently, which
> handles the initialization and handler to cancel work.
>
> [...]

Applied, thanks!

[1/4] power: supply: axp288_charger: Do not cancel work before initializing it
commit: 3e2143c88b5c1e50439239693ba9994cc82d86c3
[2/4] power: supply: axp288_charger: Simplify returns of dev_err_probe()
commit: c53266766ba5fb52f32f1766a71e0f96c5e51892
[3/4] power: supply: bq24190: Avoid rescheduling after cancelling work
commit: ba4300a96fb2be99dd29939fd2ca84d67260deaa
[4/4] power: supply: twl4030_madc: Drop unused header includes
commit: f14f741f9059a8d5492969e480453640cb5dbc85

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>