[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbpWgZHUn4SouR3yL_xjhjnyC0ogb8bErDuECakyhPW_Q@mail.gmail.com>
Date: Fri, 14 Feb 2025 10:09:53 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Dmitry Mastykin <mastichi@...il.com>
Cc: Sebastian Reichel <sre@...nel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"e.shatokhin@...ro.com" <e.shatokhin@...ro.com>,
"arturas.moskvinas@...il.com" <arturas.moskvinas@...il.com>
Subject: Re: [PATCH] pinctrl: mcp23s08: Get rid of spurious level interrupts
On Fri, Feb 7, 2025 at 9:36 PM Dmitry Mastykin <mastichi@...il.com> wrote:
> I made more tests and think that this patch shouldn't be applied.
> It removes duplicated interrupts, but sometimes they increase the performance:
> a new interrupt may come during handling a spurious one, and spurious one will
> become valid (it's kind of a polling). I see the number of my touchscreen
> interrupts reduced from 200 to 130 per second with this patch. It may be a bigger
> problem for users, than duplicated interrupts. Sorry.
Don't be sorry about that, we code and learn by our mistakes.
So is this patch causing any regression for users? Like touch
events being slow to react? Also the expander could be used
for other things than touchscreens. If it's not causing any regression
for users it seems like a reasonable patch.
Yours,
Linus Walleij
Powered by blists - more mailing lists