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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 18, 2021 at 1:23 PM Noralf Trønnes <noralf@xxxxxxxxxxx> wrote:

> 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: <stable@xxxxxxxxxxxxxxx> # 5.10+
> Cc: Daniel Baluta <daniel.baluta@xxxxxxxxx>
> Signed-off-by: Noralf Trønnes <noralf@xxxxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux