Tested together with - iio: Fix: Do not poll the driver again if try_reenable() callback returns non 0. and - iio:trigger: rename try_reenable() to reenable() plus return void on latest mainline (without PREEMPT_RT). The original WARN_ONCE() in kernel/irq/handle.c:159 was not raised anymore. But even without the current patches, this warning is not shown (as this problem only applies to -RT). Currently I haven't ported a RT kernel > 5.4 for my board, so I cannot check with current RT. On 5.4. there the patches seem not to work fully as kernel/timer/hrtimer.c is not up to date enough. Sorry for being not very helpful... Best regards Christian On Sunday, 20 September 2020, 20:15:45 CEST, Jonathan Cameron wrote: > From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > > As we no longer support a try again if we cannot reenable the trigger > rename the function to reflect this. Also we don't do anything with > the value returned so stop it returning anything. For the few drivers > that didn't already print an error message in this patch, add such > a print. > > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > Cc: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx> > Cc: Christian Oder <me@xxxxxxxxxx> > Cc: Eugen Hristev <eugen.hristev@xxxxxxxxxxxxx> > Cc: Nishant Malpani <nish.malpani25@xxxxxxxxx> > Cc: Daniel Baluta <daniel.baluta@xxxxxxxxxxx> > ---