Thread (6 messages) 6 messages, 3 authors, 2021-12-19

Re: [PATCH] gpio: dln2: Fix interrupts when replugging the device

From: Bartosz Golaszewski <hidden>
Date: 2021-12-19 14:02:36
Also in: stable

On Sun, Dec 19, 2021 at 1:01 AM Noralf Trønnes [off-list ref] wrote:


Den 24.10.2021 23.09, skrev Linus Walleij:
quoted
On Mon, Oct 18, 2021 at 1:23 PM Noralf Trønnes [off-list ref] wrote:
quoted
When replugging the device the following message shows up:

gpio gpiochip2: (dln2): detected irqchip that is shared with multiple gpiochips: please fix the driver.

This also has the effect that interrupts won't work.
The same problem would also show up if multiple devices where plugged in.

Fix this by allocating the irq_chip data structure per instance like other
drivers do.

I don't know when this problem appeared, but it is present in 5.10.

Cc: <redacted> # 5.10+
Cc: Daniel Baluta <redacted>
Signed-off-by: Noralf Trønnes <redacted>
Reviewed-by: Linus Walleij <redacted>
Ping, has this been forgotten? Can't see it in -next.

Noralf.
Hi Noralf,

As of commit d1d598104336075e7475d932d200b33108399225 my email address
has changed and the relevant commit has been in mainline for a while
now. I only by accident noticed this patch now. Please use
scripts/get_maintainer.pl in the future.

Now queued, thanks!

Bart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help