Received: by 10.192.165.148 with SMTP id m20csp2339236imm; Thu, 26 Apr 2018 09:21:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx490im3TSKhMlXBfOi8fPQgsYzRabLV7FqnSSc9e5NVrdX71ZQgMv45v+vSjEsXNBx9Luw+8 X-Received: by 10.99.186.5 with SMTP id k5mr27994567pgf.39.1524759695902; Thu, 26 Apr 2018 09:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524759695; cv=none; d=google.com; s=arc-20160816; b=vvQ4dgWv5xFRXQlL9t+FQA9DURx2QEfh6cMjwjKaoW0bd2LqeJH7zG+rr6FbBYWrZo bE/5qYP2tbKQbtGidNhWpXZfi3GcG/XdTbok63sYYAn8BRFL3mVxTWyagkfvWz2NMUMI vu3Tzf1lYrBEuzYvDAy/gwOp41ZoCs4gZFMr1VQL0qbWq9pgxutJKV2cZzKukXq087YB //gsAlshjec6yDHnaO0fPry25dV88ZOeqokxFcm7UZCWtIhjOAjGeA1nf7kcmiGuj9Hz MkWCN6SbnLwsEiGU/+WWjDwbfONrJzml219hk6aTN3VqaMqT0sI2a0EUoWN/SvZ99DDw 0ppw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=OedvYvVGp5TjUT24CPgcsK0ftQbrcvFMSHuuinIe3S8=; b=LA0DBTKSoOVSznB35smdKy5Z68OZ7J0eSEozFbZMjsSogxgsIklbBUpeou8luTXhMO /lPZzIHvEG1Kg+MW/ZP5eRkSNtgW7CGbTO1r/zSVreBjl7SMWN4HOYPgGu9cdTo5jpvu 6kgZPwNNOSJ9JDSFRaBBnZzQ0kroZR1+YkyeaQrEvp+WaspbnXf2vWykPOEV35IUOXH0 TyiKry+jEPm2fTdWvo1tpqXjZWcls9lE4YmrwucmmBxeQruPN+XkG3bi2j2JaNEWr9oB St2BqDZHpaLa4ndjjg62sL46UhNq9KqreuPVjI3CkDW1yOcuLFx0g1Ff9hj4yidKqW10 dTUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b129si15920079pgc.387.2018.04.26.09.21.21; Thu, 26 Apr 2018 09:21:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756882AbeDZQT4 (ORCPT + 99 others); Thu, 26 Apr 2018 12:19:56 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:52642 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756848AbeDZQT3 (ORCPT ); Thu, 26 Apr 2018 12:19:29 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3QFsXpb020627; Thu, 26 Apr 2018 18:18:47 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2hfv6f3t47-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 26 Apr 2018 18:18:47 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E9DF43D; Thu, 26 Apr 2018 16:18:46 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D19C25147; Thu, 26 Apr 2018 16:18:46 +0000 (GMT) Received: from SAFEX1HUBCAS21.st.com (10.75.90.44) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 26 Apr 2018 18:18:46 +0200 Received: from lmecxl0923.lme.st.com (10.48.0.237) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 26 Apr 2018 18:18:46 +0200 From: Ludovic Barre To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring CC: Maxime Coquelin , Alexandre Torgue , Gerald BAEZA , Loic PALLARDY , , , , "Ludovic Barre" Subject: [PATCH 09/11] pinctrl: stm32: add irq_eoi for stm32gpio irqchip Date: Thu, 26 Apr 2018 18:18:32 +0200 Message-ID: <1524759514-12392-10-git-send-email-ludovic.Barre@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524759514-12392-1-git-send-email-ludovic.Barre@st.com> References: <1524759514-12392-1-git-send-email-ludovic.Barre@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.48.0.237] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-26_06:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ludovic Barre -Parent domain of stm32gpio evolves to hierarchy domain and could have a handle_fasteoi_irq. So an irq_eoi parent callback is needed for children. -Replace space by tabulation. Signed-off-by: Ludovic Barre --- drivers/pinctrl/stm32/pinctrl-stm32.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/stm32/pinctrl-stm32.c b/drivers/pinctrl/stm32/pinctrl-stm32.c index 6cbcff4..dfed609 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32.c @@ -267,12 +267,13 @@ static void stm32_gpio_irq_release_resources(struct irq_data *irq_data) } static struct irq_chip stm32_gpio_irq_chip = { - .name = "stm32gpio", - .irq_ack = irq_chip_ack_parent, - .irq_mask = irq_chip_mask_parent, - .irq_unmask = irq_chip_unmask_parent, - .irq_set_type = irq_chip_set_type_parent, - .irq_set_wake = irq_chip_set_wake_parent, + .name = "stm32gpio", + .irq_eoi = irq_chip_eoi_parent, + .irq_ack = irq_chip_ack_parent, + .irq_mask = irq_chip_mask_parent, + .irq_unmask = irq_chip_unmask_parent, + .irq_set_type = irq_chip_set_type_parent, + .irq_set_wake = irq_chip_set_wake_parent, .irq_request_resources = stm32_gpio_irq_request_resources, .irq_release_resources = stm32_gpio_irq_release_resources, }; -- 2.7.4