[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170810171034.GA26019@amd>
Date: Thu, 10 Aug 2017 19:10:34 +0200
From: Pavel Machek <pavel@....cz>
To: Grygorii Strashko <grygorii.strashko@...com>
Cc: pali.rohar@...il.com, sre@...nel.org,
kernel list <linux-kernel@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-omap@...r.kernel.org, tony@...mide.com, khilman@...nel.org,
aaro.koskinen@....fi, ivo.g.dimitrov.75@...il.com,
patrikbachan@...il.com, serge@...lyn.com, abcloriens@...il.com,
Julia Lawall <Julia.Lawall@...6.fr>
Subject: Re: linux-next 2017-08-08 keyboard failure on Nokia N900
Hi!
> >>> I tried today's linux-next. It boots on n900 (up to X), but then my
> >>> screen locks and I can't get back. Touchscreen worked, so my guess is
> >>> keyboard does not...? Ssh connection over usb still works.
> >>
> >> Confirmed, its the keyboard.
> >>
...
> > [ 0.682769] twl4030_madc 48070000.i2c:twl@48:madc: could not
> > request irq
> > [ 0.684051] twl4030_madc: probe of 48070000.i2c:twl@48:madc failed
>
> I've not precisely checked it, but smth is telling me that below
> patch can cause this:
>
> commit 78daaca78ee57dead0f4aa5ee399f0499e81cd9e
...
> int twl4030_init_irq(struct device *dev, int irq_num)
> {
> - static struct irq_chip twl4030_irq_chip;
> + struct irq_chip twl4030_irq_chip;
>
>
> but if we will look at code - it can be seen that this variable is passed by reference to
> irq_set_chip_and_handler().
> Ops. And what will happen when twl4030_init_irq() returns ;)
Thanks, this would take me a while to figure out. I'm testing
next-..-08-10, which should have this fixed... and yes, it does.
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists