Re: [PATCH v2] counter: ftm-quaddec: use devm_mutex_init()

From: William Breathitt Gray

Date: Wed May 27 2026 - 03:03:01 EST



On Mon, 25 May 2026 20:12:40 +0500, Stepan Ionichev wrote:
> ftm_quaddec_probe() calls mutex_init() but neither the cleanup
> action nor a remove callback issues a matching mutex_destroy(),
> which leaks the lock debug state when CONFIG_DEBUG_MUTEXES is
> enabled.
>
> Switch to devm_mutex_init() so the mutex is torn down in the same
> devm scope it was set up in.
>
> [...]

Applied, thanks!

[1/1] counter: ftm-quaddec: use devm_mutex_init()
commit: f981309937538ca7425fbf65fe4c339c00e50eca

Best regards,
--
William Breathitt Gray <wbg@xxxxxxxxxx>