Re: [PATCH] iio: dac: mcp47feb02: Fix mutex used before initialization
From: Andy Shevchenko
Date: Mon Feb 23 2026 - 03:53:15 EST
On Mon, Feb 23, 2026 at 04:03:34PM +0800, Felix Gu wrote:
> The mcp47feb02_parse_fw() function uses data->lock, but the mutex was
> initialized after this function in probe path.
>
> Fix this by moving devm_mutex_init() before mcp47feb02_parse_fw().
There are several patches from you lately. Are you sure the version is correct,
id est this one is indeed v1? Sorry, I'm a bit lost.
--
With Best Regards,
Andy Shevchenko