lkml.org 
[lkml]   [2019]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [tip:irq/core] gpio: mb86s7x: Enable ACPI support
On Fri, 5 Jul 2019 at 10:58, Linus Walleij <linus.walleij@linaro.org> wrote:
>
> On Thu, Jul 4, 2019 at 8:18 PM Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> > On Thu, 4 Jul 2019 at 09:52, Linus Walleij <linus.walleij@linaro.org> wrote:
> > >
> > > On Wed, Jul 3, 2019 at 3:50 PM Marc Zyngier <marc.zyngier@arm.com> wrote:
> > > > On 03/07/2019 13:26, Linus Walleij wrote:
> > > > > On Wed, Jul 3, 2019 at 11:24 AM tip-bot for Ard Biesheuvel
> > > > > <tipbot@zytor.com> wrote:
> > > > >
> > > > >> Committer: Marc Zyngier <marc.zyngier@arm.com>
> > > > >> CommitDate: Wed, 29 May 2019 10:42:19 +0100
> > > > >>
> > > > >> gpio: mb86s7x: Enable ACPI support
> > > > >>
> > > > >> Make the mb86s7x GPIO block discoverable via ACPI. In addition, add
> > > > >> support for ACPI GPIO interrupts routed via platform interrupts, by
> > > > >> wiring the two together via the to_irq() gpiochip callback.
> > > > >>
> > > > >> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
> > > > >> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
> > > > >> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> > > > >> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> > > > >
> > > > > OK!
> > > > >
> > > > >> +#include "gpiolib.h"
> > > > >> +
> > > > >
> > > > > But this isn't needed anymore, is it?
> > > >
> > > > You tell me! ;-)
> > > >
> > > > > I can try to remember to remove it later though.
> > > >
> > > > Yeah, please send a separate patch. tip is stable, and we can't roll
> > > > this back.
> > >
> > > I'll just fix it in the GPIO tree after -rc1.
> > > Made a personal TODO note!
> >
> > Why wouldn't it be needed anymore?
>
> I looked over the code like 5 times and I can't see it touching any
> gpiolib internals anymore, but maybe I'm still wrong?
>
> Normally GPIO drivers should get all symbols it needs from
> <linux/gpio/driver.h> and "gpiolib.h" is not something drivers
> should include.
>
> Anyways I will get to know from compile tests if I'm wrong.
>

IIRC it had something to do with the ACPI helpers that this driver
calls directly.

\
 
 \ /
  Last update: 2019-07-05 19:53    [W:0.036 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site