Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1509300
| From | Lee Jones <lee.jones@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent() |
| Date | 2016-10-26 15:00 +0200 |
| Message-ID | <swvYf-3Qk-63@gated-at.bofh.it> (permalink) |
| References | <ssidb-6Lt-5@gated-at.bofh.it> <swvOz-3Ml-87@gated-at.bofh.it> <swvOz-3Ml-85@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 26 Oct 2016, Thomas Gleixner wrote:
> On Wed, 26 Oct 2016, Lee Jones wrote:
> > On Fri, 14 Oct 2016, Guenter Roeck wrote:
> >
> > > The call to irq_set_parent() causes the following build error if tps65217
> > > is built as module.
> > >
> > > ERROR: ".irq_set_parent" [drivers/mfd/tps65217.ko] undefined!
> > >
> > > The problem was introduced with commit 6556bdacf646f ("mfd: tps65217: Add
> > > support for IRQs").
> > >
> > > The author states: "I have added irq_set_parent() similarly as in
> > > drivers/base/regmap/regmap-irq.c. But to be honest I am not sure what it
> > > really does in case of tps65217."
> > >
> > > So let's drop it.
> > >
> > > Fixes: 6556bdacf646f ("mfd: tps65217: Add support for IRQs")
> > > Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
> > > Cc: Arnd Bergmann <arnd@arndb.de>
> > > Cc: Thomas Gleixner <tglx@linutronix.de>
> > > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> > > ---
> > > drivers/mfd/tps65217.c | 1 -
> > > 1 file changed, 1 deletion(-)
> >
> > This has been fixed now.
>
> It was not fixed. The export was a work around as everyone was bitching
> about the build robots failing forever.
>
> So if the irq_set_parent() call is not required for functionality of the
> driver then it should not be there in the first place.
Ah, I thought this was just another one of the many hacks I received
in response to the auto-builder's complains. I've just been NACKing
them out of habit.
However, if is it true that we can simply just remove the call to
irq_set_parent(), then I'm happy to apply the patch.
Even happier with an Ack from you!
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mfd: tps65217: Drop call to irq_set_parent() Guenter Roeck <linux@roeck-us.net> - 2016-10-14 23:30 +0200
Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent() Thomas Gleixner <tglx@linutronix.de> - 2016-10-26 14:50 +0200
Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent() Lee Jones <lee.jones@linaro.org> - 2016-10-26 15:00 +0200
Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent() Guenter Roeck <linux@roeck-us.net> - 2016-10-26 15:30 +0200
Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent() Lee Jones <lee.jones@linaro.org> - 2016-10-26 15:10 +0200
csiph-web