From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932728AbcFOMx2 (ORCPT ); Wed, 15 Jun 2016 08:53:28 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:34928 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753107AbcFOMxZ (ORCPT ); Wed, 15 Jun 2016 08:53:25 -0400 Date: Wed, 15 Jun 2016 13:54:05 +0100 From: Lee Jones To: John Stultz Cc: lkml , Dmitry Torokhov , Rob Herring , Jorge Ramirez-Ortiz , Feng Chen , Wei Xu , Guodong Xu Subject: Re: [PATCH 2/4] mfd: hi655x-pmic: Fixup issue with un-acked interrupts Message-ID: <20160615125405.GG4948@dell> References: <1465944212-17079-1-git-send-email-john.stultz@linaro.org> <1465944212-17079-3-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: <1465944212-17079-3-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 Tue, 14 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: Lee Jones > Cc: Jorge Ramirez-Ortiz > Cc: Feng Chen > Cc: Wei Xu > Cc: Guodong Xu > Acked-by: Lee Jones > Signed-off-by: John Stultz > --- > drivers/mfd/hi655x-pmic.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. > diff --git a/drivers/mfd/hi655x-pmic.c b/drivers/mfd/hi655x-pmic.c > index 05ddc78..68ab370 100644 > --- a/drivers/mfd/hi655x-pmic.c > +++ b/drivers/mfd/hi655x-pmic.c > @@ -45,6 +45,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