[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7126e6f2-c116-40c6-8657-1cddc36903dc@baylibre.com>
Date: Fri, 23 Jan 2026 15:00:18 -0600
From: David Lechner <dlechner@...libre.com>
To: Jonathan Cameron <jonathan.cameron@...wei.com>,
Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
linux-kernel@...r.kernel.org, linux-rt-devel@...ts.linux.dev,
Thomas Gleixner <tglx@...nel.org>, Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Puranjay Mohan <puranjay@...nel.org>, Jonathan Cameron <jic23@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>,
Marcelo Schmitt <marcelo.schmitt@...log.com>,
Marcus Folkesson <marcus.folkesson@...il.com>,
Kent Gustavsson <kent@...oris.se>, Gustavo Silva <gustavograzs@...il.com>,
Nishant Malpani <nish.malpani25@...il.com>, linux-iio@...r.kernel.org
Subject: Re: [PATCH 18/21] iio: Replace IRQF_ONESHOT with IRQF_NO_THREAD
On 1/23/26 10:47 AM, Jonathan Cameron wrote:
>
>>> +++ b/drivers/iio/accel/adxl372.c
>>
>>> + ret = devm_request_irq(dev, st->irq,
>>> + iio_trigger_generic_data_rdy_poll,
>>> + IRQF_TRIGGER_RISING | IRQF_NO_THREAD,
>>> + indio_dev->name, st->dready_trig);
>>> if (ret < 0)
>>> return ret;
>>
>> Interestingly that this driver ignores the flags from firmware... Seems to me
>> like a bug (not in your patch, obviously). Ditto for other drivers doing similar
>> things.
>>
>
> It's indeed a bug but one of those historic ones we can't fix without
> high risk of regressions :(
>
>
Sounds like we should add a "don't copy this because ..." comment while we
are touching this.
Powered by blists - more mailing lists