Re: Question about using new request_threaded_irq

2012-12-17 Thread Jonathan Corbet
On Mon, 17 Dec 2012 17:06:43 +0100 Marcos Lois Bermúdez wrote: > I'm a bit confusing because i see a outdated page that talks about this > new IRQ API, but now i see that it's very outdated: > > http://lwn.net/Articles/302043/ I normally encourage people to rely on LWN for everything, of cours

Re: Question about using new request_threaded_irq

2012-12-17 Thread Marcos Lois Bermúdez
Hi, I lot of thanks for you fast reply. It seem that i swap the mean of handler parameters, so i now see it correct. :). Excuse for my newbie question. handler is the primary handler, and if NULL a default primary handler is installed, and thread_fn is the thread handler. I'm a bit confusi

Re: Question about using new request_threaded_irq

2012-12-17 Thread Jonathan Corbet
On Mon, 17 Dec 2012 16:11:22 +0100 Marcos Lois Bermúdez wrote: > For my understand if i call for example: > > request_threaded_irq(irqmum, NULL, irq_handle, IRQF_TRIGGER_FALLING, > DEVICE_NAME, priv); > > This seem to make a old Hard IRQ handler, and inside of this handler > sleep APIs can't