[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aXCZhtrdiXKGT35g@smile.fi.intel.com>
Date: Wed, 21 Jan 2026 11:16:54 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: raskar.shree97@...il.com
Cc: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, skhan@...uxfoundation.org,
david.hunter.linux@...il.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 3/5] iio: proximity: rfd77402: Use devm-managed mutex
initialization
On Wed, Jan 21, 2026 at 02:05:43AM +0530, Shrikant Raskar via B4 Relay wrote:
> Use devm_mutex_init() to tie the mutex lifetime to the device and
> simplify resource lifetime management.
I believe it's currently more about debugging mutexes.
See how other commits in IIO look like
commit 6e43c10675d876a5fb71e57a9bcca9533fccccd9
Author: Nuno Sá <nuno.sa@...log.com>
Date: Tue Nov 4 15:35:13 2025 +0000
iio: dac: ad5446: Make use of devm_mutex_init()
Use devm_mutex_init() which is helpful with CONFIG_DEBUG_MUTEXES.
With the commit message being rewritten,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@...el.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists