Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp687174pxb; Tue, 5 Apr 2022 18:48:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIPusihHI3/HkRlA8nJrx4hz2w4oJ9Fvr1dhIkfbb3xLB+LWTT3h4l9QWHyEQQc9QozeAn X-Received: by 2002:a17:902:8a95:b0:156:a40a:71e5 with SMTP id p21-20020a1709028a9500b00156a40a71e5mr6351232plo.144.1649209722565; Tue, 05 Apr 2022 18:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649209722; cv=none; d=google.com; s=arc-20160816; b=gob4r8lmhpLKfky2humRB+5d/HanoPVIWU+5OuXbpHCvRi8sP1weT4D/oKVDWjChIi LVjZxosRYf1RP2VNIqgIw/kbqJ8YS/kkoyWIwZvd5b34IaVWEHkf2bWhSzsGJPUn8f4h DGdSCT3/3r33Pn7gT3xMcX/iJkp6s1ymmD1j+F0vgGezIzd/xbzWqmS2+1HSvLkeeSCc UeaOvAnh+UjlHNfb3o0rZDJACGDCLGaKnU+JQdJ7brbIdOyHt4Enw0nUVvtRPnd7k9zb NrlPKfOYLPneYo4COdHkLJlRr/CQ88N5CRzi8Zd4QHFC+DBFC2sEXB31weBurkZe5iEA VeHA== 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=5xgyzS0rmVzSzRrMeudUYlIHmVDXQGDeDn08heTxC8g=; b=bLi7brbRgOXp2T9C37OJnrK+qvwUGXBqePyoYnLPwHpbQRKfYcxEwnjgTiKwJH9kVF nqdjRQ1i7iH3X4StWtBFvgpSAY/SbDX7CqwgX8yl7/Cjrvf9js1jnyy7NyfGbt23oStd vL1+AySJQ5EiQ1XJ4MM32s0ti4FRMMHuuSdyQBX1afBiO0R7ob2lAAMFLXPGOVMwE7NR oq7ttu+azMSM+2pcL6Ei3ESghTsqsJWso+wXxQ/4uUtz1SDg8XC5SZ/adTyTn4SFSKCr +wvuFJagyZE+OE/gQAXOjdp0ELNFhl2As1+1b7lC/yspxQTypaU5FvQIKxAIAknea6dE wTCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jWMZf42E; 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 a38-20020a056a001d2600b004fe50440a05si863491pfx.331.2022.04.05.18.48.26; Tue, 05 Apr 2022 18:48:42 -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=jWMZf42E; 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 S1379170AbiDELk2 (ORCPT + 99 others); Tue, 5 Apr 2022 07:40:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244765AbiDEIwi (ORCPT ); Tue, 5 Apr 2022 04:52:38 -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 E26F911C13; Tue, 5 Apr 2022 01:43:36 -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 81BE560FFC; Tue, 5 Apr 2022 08:43:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9912FC385A0; Tue, 5 Apr 2022 08:43:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649148216; bh=A2qwBWgC5bulOwxQ9UGNIGesob+YEhfQP+KL/rVuxJk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jWMZf42Efuw6b2dO5XSFX3qO/3Yo2v9+f7QPKU9ktVEzvAhgOCGuZevwJUB6/dIzW 91SjF96qTasLutLfh8+3FsXoAzaW4mL1F93NRB38spAyHJx9Jog/TBzg+bSNiCGPuE JiSBOgouqptrNrWXQQxSHh1wiQy6Y/0imn7StzKA= 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.16 0277/1017] pinctrl: samsung: Remove EINT handler for Exynos850 ALIVE and CMGP gpios Date: Tue, 5 Apr 2022 09:19:50 +0200 Message-Id: <20220405070402.489440084@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@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 6b77fd24571e..5c00be179082 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