Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 09:08:27AM +0300, Baruch Siach wrote: > Hi Greg, > > On Tue, May 16, 2017 at 08:01:10AM +0200, Greg KH wrote: > > On Tue, May 16, 2017 at 11:19:32AM +0530, Raveendra Padasalagi wrote: > > > The third argument of devm_request_threaded_irq() is the primary > > > handler. It

Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 09:08:27AM +0300, Baruch Siach wrote: > Hi Greg, > > On Tue, May 16, 2017 at 08:01:10AM +0200, Greg KH wrote: > > On Tue, May 16, 2017 at 11:19:32AM +0530, Raveendra Padasalagi wrote: > > > The third argument of devm_request_threaded_irq() is the primary > > > handler. It

Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-16 Thread Baruch Siach
Hi Greg, On Tue, May 16, 2017 at 08:01:10AM +0200, Greg KH wrote: > On Tue, May 16, 2017 at 11:19:32AM +0530, Raveendra Padasalagi wrote: > > The third argument of devm_request_threaded_irq() is the primary > > handler. It is called in hardirq context and checks whether the > > interrupt is

Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-16 Thread Baruch Siach
Hi Greg, On Tue, May 16, 2017 at 08:01:10AM +0200, Greg KH wrote: > On Tue, May 16, 2017 at 11:19:32AM +0530, Raveendra Padasalagi wrote: > > The third argument of devm_request_threaded_irq() is the primary > > handler. It is called in hardirq context and checks whether the > > interrupt is

Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 11:19:32AM +0530, Raveendra Padasalagi wrote: > The third argument of devm_request_threaded_irq() is the primary > handler. It is called in hardirq context and checks whether the > interrupt is relevant to the device. If the primary handler returns > IRQ_WAKE_THREAD, the

Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 11:19:32AM +0530, Raveendra Padasalagi wrote: > The third argument of devm_request_threaded_irq() is the primary > handler. It is called in hardirq context and checks whether the > interrupt is relevant to the device. If the primary handler returns > IRQ_WAKE_THREAD, the

[RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-15 Thread Raveendra Padasalagi
The third argument of devm_request_threaded_irq() is the primary handler. It is called in hardirq context and checks whether the interrupt is relevant to the device. If the primary handler returns IRQ_WAKE_THREAD, the secondary handler (a.k.a. handler thread) is scheduled to run in process

[RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's

2017-05-15 Thread Raveendra Padasalagi
The third argument of devm_request_threaded_irq() is the primary handler. It is called in hardirq context and checks whether the interrupt is relevant to the device. If the primary handler returns IRQ_WAKE_THREAD, the secondary handler (a.k.a. handler thread) is scheduled to run in process