From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426127AbcFHObs (ORCPT ); Wed, 8 Jun 2016 10:31:48 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37906 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161864AbcFHObr (ORCPT ); Wed, 8 Jun 2016 10:31:47 -0400 Date: Wed, 8 Jun 2016 15:32:16 +0100 From: Lee Jones To: John Stultz Cc: lkml , Dmitry Torokhov , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jorge Ramirez-Ortiz , Wei Xu , Guodong Xu Subject: Re: [RFC][PATCH 3/5] hi655x-pmic: Fixup issue with un-acked interrupts Message-ID: <20160608143216.GJ14888@dell> References: <1464816460-18750-1-git-send-email-john.stultz@linaro.org> <1464816460-18750-4-git-send-email-john.stultz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1464816460-18750-4-git-send-email-john.stultz@linaro.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 01 Jun 2016, John Stultz wrote: > While trying to get the powerkey to function, I found > when pressing the key, I would get infinitely repeating > interrupts. > > After digging around a bit, it seems we didn't set the > ack_base value for the regmap irqchip logic, so nothing > was acking the interrupt. > > This patch adds the ack_base, which seems to make things > work. > > Cc: Dmitry Torokhov > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Lee Jones > Cc: Jorge Ramirez-Ortiz > Cc: Wei Xu > Cc: Guodong Xu > Signed-off-by: John Stultz > --- > drivers/mfd/hi655x-pmic.c | 1 + > 1 file changed, 1 insertion(+) Seems reasonable. Acked-by: Lee Jones > diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c > index 3511035..4a3fdbc 100644 > --- a/drivers/mfd/hi655x-pmic.c > +++ b/drivers/mfd/hi655x-pmic.c > @@ -50,6 +50,7 @@ static const struct regmap_irq_chip hi655x_irq_chip = { > .num_regs = 1, > .num_irqs = ARRAY_SIZE(hi655x_irqs), > .status_base = HI655X_IRQ_STAT_BASE, > + .ack_base = HI655X_IRQ_STAT_BASE, > .mask_base = HI655X_IRQ_MASK_BASE, > }; > -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog