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

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
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 Tue, 16 May 2017 08:10:01 +0200
Message-ID <tHDQd-1Wi-3@gated-at.bofh.it> (permalink)
References <tHDGx-1Df-1@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=/UzooZLYixnDKQJoIK T7XSGt+xrApAbsyIHSQTcOK1k=; b=Ek3Mn0GDtGEyzopttQ9HEdBf/hi9tfYPWY XbJZWlnNnApcdEZpYVEcil9JIP2MlJNmqPzylQkXg01T1P4IQA2e6oLJ2hdVR3HU bmjL/hsg4f8KSgzDErbPGZ+Rx3CXN2X2EX3dN1Pb1XngwVO4nmhtcDFGYvNFaL+O MGx+DedZnN6yCyt5xuMVQQoMuu7sSRn13KYwj4IoUhfbefmcqFGr8zTZdRCgDshg qFX595v3J/kNa6JBi1Yp/O9rXbzH6A9CBiTRYQoRpbTpLoavnYsysKj4zQJBq9wr YPNs9B87WzeMwYpdxns5Oy6quAVOoL/u2gSumNotnlfk3Fe/7yvQ==
X-Me-Sender <xms:rpUaWQ4paP1bXIVTyXzuCa3VvQ1eHTUQEyFaS0oDQVcHv-MV0Ie9nw>
X-Sasl-Enc sgJ6saRIi+Vs82XO0K+aShiaoPK9NiWKQs3fn5ROR9b5 1494914478
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.8.2 (2017-04-18)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc Jonathan Cameron <jic23@kernel.org>, Pavel Roskin <plroskin@gmail.com>, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Ray Jui <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, linux-iio@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
X-Original-Date Tue, 16 May 2017 08:01:10 +0200
X-Original-Message-ID <20170516060110.GA25722@kroah.com>
X-Original-References <1494913772-30904-1-git-send-email-raveendra.padasalagi@broadcom.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1642231

Show key headers only | 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