Re: [PATCH] fix UIO with device tree but no assigned interrupt

From: Pavel Machek
Date: Tue Jun 18 2013 - 08:53:14 EST


On Mon 2013-06-17 16:46:36, Greg KH wrote:
> On Mon, Jun 17, 2013 at 03:49:57PM +0200, Pavel Machek wrote:
> > If device is initialized from device tree, but has no interrupt assigned,
> > uio will still try to request and interrupt old way, fails, and fails registration.
> >
> > This is wrong; don't try initializing irq using platform data if device tree is
> > available.
>
> Doesn't apply cleanly to my tree, can you redo it against the
> char-misc-next branch of my git tree?

Done. I also notice problems with leaking memory, fixed those, too.

Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/