Re: [PATCH] gpiolib: check if irqchip already has the irq hook replacements

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

 



On Fri, Sep 14, 2018 at 10:36 AM Hans Verkuil <hverkuil@xxxxxxxxx> wrote:

> Some drivers use a single irqchip for multiple gpiochips. As a result the
> irqchip hooks are overridden for the first gpiochip that was added, but
> for the other gpiochip instances this should not happen again, otherwise
> we would go into an infinite recursion.
>
> Check for this, but also log a message that the driver should be fixed
> since this is bad practice.
>
> Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx>

Patch tentatively applied, let's see if we can also get some
Tested-by from Ludovic!

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