Re: [PATCH v2 5/7] gpio: mockup: add a dummy irqchip

From: Bartosz Golaszewski
Date: Mon Feb 06 2017 - 08:32:02 EST


2017-02-06 14:29 GMT+01:00 Linus Walleij <linus.walleij@xxxxxxxxxx>:
> On Mon, Feb 6, 2017 at 1:10 PM, Bartosz Golaszewski
> <bgolaszewski@xxxxxxxxxxxx> wrote:
>
>> Setup a dummy irqchip that will allow us to inject line events for
>> testing purposes.
>>
>> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> This is obviously exactly how we should do this.
>
> However since it needs the devm* helpers from the irq
> subsystem I can't apply them until the irqchip maintainers
> merge or ack that patch.
>
> If you want it in soon I suggest resending it with
> non-memorymanaged accessors for the descs and later
> make a separate patch to switch over to the devm_*
> versions when/if it is accepted.
>
> If you're not in a hurry, just wait :)
>
> Yours,
> Linus Walleij

I think I'll do it, since it would be nice to have it go in for 4.11
(if you're ready to merge it that late into the release cycle).

Thanks,
Bartosz