Re: [PATCH] iio: adc: ade9000: move mutex init before IRQ registration
From: Andy Shevchenko
Date: Sat Feb 28 2026 - 06:05:33 EST
On Fri, Feb 27, 2026 at 03:33:30PM +0200, Antoniu Miclaus wrote:
> Move devm_mutex_init() before ade9000_request_irq() calls so that
> st->lock is initialized before any handler that depends on it can run.
Sounds good. The technique to reproduce this (in case you have a HWr
to make sure probe runs) the kernel configuration should have
CONFIG_DEBUG_SHIRQ=y (and in some cases a tweak in the code to flag
IRQ as shared).
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
--
With Best Regards,
Andy Shevchenko