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

From: William Breathitt Gray

Date: Sun May 31 2026 - 18:34:52 EST



On Sat, 23 May 2026 23:43:51 +0500, Stepan Ionichev wrote:
> ftm_quaddec_probe() calls mutex_init() but neither the cleanup
> action nor a remove callback issues a matching mutex_destroy(),
> so the lock debug state is leaked on driver unbind.
>
> 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: b400c076fe4b63576fa22fbb59078b030000970c

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