Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642231

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

From Greg KH <greg@kroah.com>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's
Date 2017-05-16 08:10 +0200
Message-ID <tHDQd-1Wi-3@gated-at.bofh.it> (permalink)
References <tHDGx-1Df-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 secondary handler (a.k.a. handler thread) is
> scheduled to run in process context.
> 
> bcm_iproc_adc.c uses the secondary handler as the primary one
> and the other way around. So this patch fixes the same, along with
> re-naming the secondary handler and primary handler names properly.
> 
> Tested on the BCM9583XX iProc SoC based boards.
> 
> Reported-by: Pavel Roskin <plroskin@gmail.com>
> Fixes: 4324c97ecedc("iio: Add driver for Broadcom iproc-static-adc")
> Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>
> ---
>  drivers/iio/adc/bcm_iproc_adc.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

<formletter>

This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read Documentation/stable_kernel_rules.txt
for how to do this properly.

</formletter>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's Raveendra Padasalagi <raveendra.padasalagi@broadcom.com> - 2017-05-16 08:00 +0200
  Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and  secondary isr handler's Baruch Siach <baruch@tkos.co.il> - 2017-05-16 08:10 +0200
    Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and  secondary isr handler's Greg KH <greg@kroah.com> - 2017-05-16 08:50 +0200
  Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and  secondary isr handler's Greg KH <greg@kroah.com> - 2017-05-16 08:10 +0200

csiph-web