Re: [PATCH v2] iio: pressure: rohm-bm1390: notify trigger on all error paths
From: Andy Shevchenko
Date: Mon Jun 01 2026 - 14:39:57 EST
On Fri, May 29, 2026 at 11:21:40AM +0300, Matti Vaittinen wrote:
> On 22/05/2026 15:38, Matti Vaittinen wrote:
> > On 20/05/2026 14:08, Jonathan Cameron wrote:
> > > On Tue, 19 May 2026 08:48:13 +0300
> > > Matti Vaittinen <mazziesaccount@xxxxxxxxx> wrote:
...
> +#ifdef TEST_FORCE_IRQ_NONE
> + /* HACK, return IRQ_NONE and see if IRQ gets disabled */
> + if (!(first2 % 1000))
> + pr_info("Hack, return IRQ_NONE (%lu th)\n", first2);
Hint: pr_info_ratelimited() seems better?
> + first2++;
> +
> + return IRQ_NONE;
> +#else
> return IRQ_HANDLED;
> +#endif
--
With Best Regards,
Andy Shevchenko