From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com ([66.111.4.28]:38665 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbdEPGBT (ORCPT ); Tue, 16 May 2017 02:01:19 -0400 Date: Tue, 16 May 2017 08:01:10 +0200 From: Greg KH To: Raveendra Padasalagi Cc: Jonathan Cameron , Pavel Roskin , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Ray Jui , Scott Branden , 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 Subject: Re: [RESEND PATCH] iio: adc: bcm_iproc_adc: swap primary and secondary isr handler's Message-ID: <20170516060110.GA25722@kroah.com> References: <1494913772-30904-1-git-send-email-raveendra.padasalagi@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1494913772-30904-1-git-send-email-raveendra.padasalagi@broadcom.com> Sender: stable-owner@vger.kernel.org List-ID: 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 > Fixes: 4324c97ecedc("iio: Add driver for Broadcom iproc-static-adc") > Signed-off-by: Raveendra Padasalagi > --- > drivers/iio/adc/bcm_iproc_adc.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) 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.