Re: [PATCH] regulator: cancel disable_work synchronously in regulator_unregister()
From: Chengyu Liu
Date: Wed Nov 04 2026 - 08:52:39 EST
On Tue, Nov 04, 2026 at 08:39:05PM +0000, Mark Brown wrote:
> I think you want disable_delayed_work_sync() here for the rearming part.
Agreed, that's a mistake in my patch. Thanks for pointing it out. I'll
send a v2 switching to disable_delayed_work_sync(), which keeps the
work disabled so a racing regulator_disable_deferred() can't re-arm it
during the teardown.