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