Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp666844pxb; Tue, 5 Apr 2022 18:00:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVPrTa15723vupwzcy2bmEjsPYnk/2ejHw60kwdMlx+v4LbE4COhehdgwzWFO2lpCFFhct X-Received: by 2002:a17:906:7944:b0:6da:b834:2f3e with SMTP id l4-20020a170906794400b006dab8342f3emr6171462ejo.353.1649206801511; Tue, 05 Apr 2022 18:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649206801; cv=none; d=google.com; s=arc-20160816; b=e5bt3ScOcj68BmAP4fUlfRrdjPrIPqTMAYVdfP2PlsNSXwTeYuWJ6UITnqRaFveQZq 9AO7g/AE9mbeHgj1vqUrNvcdH5CR8sb/PZnxo4LqoxGKmZQoksK+Kb6UWrsBO/f9N1cJ InqcBJ2u/VkdYywN/8AatRiJZN6ZCyLNisapOm2iwDo0pd80NOGOxLLsMnzxmUKNTHK2 TlpEYsEAP/Mmy+eKuPMmGLP1QwDkjK3d0PAaKi/nlug9YlXa1CGZgdC4AIMfL/noYuPf wUqPkwuSOoeOT20QvD8wUoH9AvZZCK1zfQjc5fJHV8HoB06Bw7WTT/9ZCazS7D4GoSu9 6RmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uyPg+fKay77l46yHiUC7x49uIN0b7n42x32MpHhsgHU=; b=KbsQva6FzoobMum6tiH+sbOamH/o6P1l2y8yvqOYbIcCJkuvHfXeAj83nv9rDY678H 8jbl+5hmTYqu9v6l+swxKqwhZIggHv1hKGV9zjTiCeHDzILRhT4oIvtJoymqnCbzsTeI VPdHKD4BJdzMKDtuz4oEX9RUfPPkONKLDymZcVb8pdjAPGeApzt7T+FCWjw+/qlGT234 Hcr0MiZDXlRsPYyhjUaE0P+8T8t2NB1LBfIsWtnDTIGckMhi6XSkE9uwIgsnvZ5jmv6j Si4OKV/oHWVKaDPLb+cR9+Y4XulvBaIPRnANsfd/x6ph9UgrZnfDIAsc/ZkaZiHygnDV OKlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pK6g9RCz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bo20-20020a0564020b3400b00418c2b5bf2asi10953378edb.524.2022.04.05.17.59.36; Tue, 05 Apr 2022 18:00:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pK6g9RCz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377590AbiDEPM7 (ORCPT + 99 others); Tue, 5 Apr 2022 11:12:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346203AbiDEJoh (ORCPT ); Tue, 5 Apr 2022 05:44:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3164CB021; Tue, 5 Apr 2022 02:30:16 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C7CBB616AE; Tue, 5 Apr 2022 09:30:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3CE4C385A2; Tue, 5 Apr 2022 09:30:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649151015; bh=127clEKAApcmCizF8OrmgjOLybkk/5Iv2HLlHH6Ka8c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pK6g9RCz4idqkLfk7DgNAEgF3OD2WzTV/b4C8dZOPtxzRkxL3mXWfg2XUAV3vaKUd a2QfR2JO1L8LjivoIK7Wr9PpIq7fwpdAnUg13XPFeBDOBo/Vcrb0yEcglZqyH1KGJS jaMKZp/2veI4lfAGGYBDA9nP+2zmrxSlr1WMtvpw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sam Protsenko , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 5.15 264/913] pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios Date: Tue, 5 Apr 2022 09:22:06 +0200 Message-Id: <20220405070347.770082571@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sam Protsenko [ Upstream commit 96f79935015cf3d7ca6fabf63cd13b8af45a7713 ] GPIO_ALIVE and GPIO_CMGP blocks in Exynos850 SoC don't have EINT capabilities (like EINT_SVC register), and there are no corresponding interrupts wired to GIC. Instead those blocks have wake-up interrupts for each pin. The ".eint_gpio_init" callbacks were specified by mistake for these blocks, when porting pinctrl code from downstream kernel. That leads to error messages like this: samsung-pinctrl 11850000.pinctrl: irq number not available Remove ".eint_gpio_init" for pinctrl_alive and pinctrl_gpmc to fix this error. This change doesn't affect proper interrupt handling for related pins, as all those pins are handled in ".eint_wkup_init". Fixes: cdd3d945dcec ("pinctrl: samsung: Add Exynos850 SoC specific data") Signed-off-by: Sam Protsenko Link: https://lore.kernel.org/r/20220114203757.4860-1-semen.protsenko@linaro.org Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- drivers/pinctrl/samsung/pinctrl-exynos-arm64.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c index fe5f6046fbd5..cc66f852ef7b 100644 --- a/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c +++ b/drivers/pinctrl/samsung/pinctrl-exynos-arm64.c @@ -504,13 +504,11 @@ static const struct samsung_pin_ctrl exynos850_pin_ctrl[] __initconst = { /* pin-controller instance 0 ALIVE data */ .pin_banks = exynos850_pin_banks0, .nr_banks = ARRAY_SIZE(exynos850_pin_banks0), - .eint_gpio_init = exynos_eint_gpio_init, .eint_wkup_init = exynos_eint_wkup_init, }, { /* pin-controller instance 1 CMGP data */ .pin_banks = exynos850_pin_banks1, .nr_banks = ARRAY_SIZE(exynos850_pin_banks1), - .eint_gpio_init = exynos_eint_gpio_init, .eint_wkup_init = exynos_eint_wkup_init, }, { /* pin-controller instance 2 AUD data */ -- 2.34.1