From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752223AbeDMIUY (ORCPT ); Fri, 13 Apr 2018 04:20:24 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:40164 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750940AbeDMIUV (ORCPT ); Fri, 13 Apr 2018 04:20:21 -0400 X-Google-Smtp-Source: AIpwx49nkDLY1SOICoteQ7tEYAiVEF7ftCAP592EYIgAs59PRXfgsFXGt/PTF2EDBv9ITfEeklGFxef/ncpNRz99d2g= MIME-Version: 1.0 In-Reply-To: <1523606900-2332-3-git-send-email-phil.edworthy@renesas.com> References: <1523606900-2332-1-git-send-email-phil.edworthy@renesas.com> <1523606900-2332-3-git-send-email-phil.edworthy@renesas.com> From: Geert Uytterhoeven Date: Fri, 13 Apr 2018 10:20:19 +0200 X-Google-Sender-Auth: iQKuQ_-L0hCTz3VCimfPrOZse5s Message-ID: Subject: Re: [PATCH v2 2/2] mfd: intel_quark_i2c_gpio: Update Synopsys GPIO interrupts To: Phil Edworthy Cc: Hoan Tran , Linus Walleij , Rob Herring , Mark Rutland , Lee Jones , Andy Shevchenko , Michel Pollet , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Phil, On Fri, Apr 13, 2018 at 10:08 AM, Phil Edworthy wrote: > Since the way the Synopsys GPIO interrupts are stored has changed, this > driver needs to be updated in line with the changes. > > Signed-off-by: Phil Edworthy > --- > v2: > - New patch in v2 to fix the only other user of struct dwapb_port_property. Thanks for your patch! To avoid bisection compile failures due to the changed type of dwapb_port_property.irq, I think this should be folded into the first patch, > --- > drivers/mfd/intel_quark_i2c_gpio.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mfd/intel_quark_i2c_gpio.c b/drivers/mfd/intel_quark_i2c_gpio.c > index 90e35de..5bddb84 100644 > --- a/drivers/mfd/intel_quark_i2c_gpio.c > +++ b/drivers/mfd/intel_quark_i2c_gpio.c > @@ -233,7 +233,8 @@ static int intel_quark_gpio_setup(struct pci_dev *pdev, struct mfd_cell *cell) > pdata->properties->idx = 0; > pdata->properties->ngpio = INTEL_QUARK_MFD_NGPIO; > pdata->properties->gpio_base = INTEL_QUARK_MFD_GPIO_BASE; > - pdata->properties->irq = pdev->irq; > + pdata->properties->irq[0] = pdev->irq; > + pdata->properties->has_irq = true; > pdata->properties->irq_shared = true; > > cell->platform_data = pdata; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds