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

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

From: Noralf Trønnes <hidden>
Date: 2021-11-22 20:28:18
Also in: stable


Den 24.10.2021 23.09, skrev Linus Walleij:
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>
Has this been applied, I can't see it in -next?

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