Re: [PATCH] counter: interrupt-cnt: use devm_mutex_init()
From: William Breathitt Gray
Date: Sun May 31 2026 - 18:35:13 EST
On Sat, 23 May 2026 23:44:18 +0500, Stepan Ionichev wrote:
> interrupt_cnt_probe() calls mutex_init() but neither this driver
> nor the counter core issues a matching mutex_destroy() on unbind,
> so the lock debug state is leaked.
>
> 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: interrupt-cnt: use devm_mutex_init()
commit: 4d9a902be374aea023f2193f729c26612e56b542
Best regards,
--
William Breathitt Gray <wbg@xxxxxxxxxx>