From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52CE6C2BB41 for ; Tue, 16 Aug 2022 09:26:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=w0r+OTXEw6T6dm0uEvvJXDtzyQ6qhkXVhOsMXWTxV18=; b=G8myyPK9d14xIH 8nj7aTa7N9Sh/jzyMQJ66AOPJJunKc8TrqJ154VoJeRi8hdKqfqFI87qowHfS1ME39DTQgZZcrPtR yZgpN9KdBaeUFa3e4Xoo2UNn0hTQVpu699MMG7YX0+Gvx65ye402dCzfxfv5LsvxAfKMkzzcs6HHb I04RynlqH79TuvQm7EtWABg4ZVNgYakB/s+36s1g7TyzJTNpSnJdolxMTgNzsdRLCXR7EuLiAySBB 3J9gMPKvDG/cWufhVSA/phYujtCM6QbbiniRAPOeUqYG6YDVoAkZV4UAncVFuFCgEi186jQbb07K6 RMlzZUZv3EAkKQXo5ksQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNsoU-000GPd-K2; Tue, 16 Aug 2022 09:24:42 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNsoO-000GKt-Ve for linux-arm-kernel@lists.infradead.org; Tue, 16 Aug 2022 09:24:38 +0000 Received: by mail-lf1-x133.google.com with SMTP id d14so14047452lfl.13 for ; Tue, 16 Aug 2022 02:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=dA9DhESaxIAdSuqYA69VElvQhXKaLx6GMaT3o/MxfcQ=; b=pAYcHJ/DCBmLR9cpFpCsw+KdXs1oauKhBl0AkYjD7c8nyjJj3+eSFlS1/VCuw6wHn9 G6OSm0FBh/QkaDRo1ti/hDuY4VmQvslzvGnlspUuKrS3Ky3DqzYNHDKNgYRhw1Cpkhnu cQtq6kzHMGotOKUXCPwoF0INia1hvQ/0Wt/ItkiqaFpHIy9U0m0cfVYiINu5hbBYp9bK 72rA5DZv4lzP86L9AgRiQoJjX8/H1O7S3YDKfwWUZan2CnkXRaTyakvAAzoE+Wd/YAAd Hp/L5aZT4N6+3GtRgdA6f5T5yzIrcXG+IQ1Zr2670IWXX4JWNoWAye41nXDKSW7HVCnC aj+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=dA9DhESaxIAdSuqYA69VElvQhXKaLx6GMaT3o/MxfcQ=; b=mGgK2t1+jXB9wKY9TPp8jtgk0d8d/wTtr0DNZ7duEFS1bi3u262RHXCQaEJwbrwrFe lZr0nc0xzCRh2S2S9uRtjvY7Z3cYXsVOQzE625wq+hadxq5+aJjYkCu/FnacDtCK3kQi S5fHJc61b3pl49208Yr/Pk2BiLRY/yfvMZizb3vtkcFAcWMpTz5XXlCPmrzIqw/A3Ljq 0ZSfpGohm6Us44BWzAcYjgVIrdGfYZ415fU+vhKe7JliqPszW6OEdrbUkcE6ka0r+H2e /ALX/oNBia/XabdV08NfGB6pIhJy+a8GNhwbm/1WoGOSXz87pB2OQga0MvjITomZ4TfD lx6A== X-Gm-Message-State: ACgBeo2oxH4mhl6l7ASKgztQC1J/NbXJ21CrQlHrt0fOgjTJ79QslOvE R6OVfGzVIX69TdXbY9LihPahgw== X-Google-Smtp-Source: AA6agR4SacvxqdwEQnvdddBBMXsDS1BirINw4bHykF8sOxTwdBrYtb13QtvhxD+krOjDjpFrrNwVeQ== X-Received: by 2002:a05:651c:154b:b0:25e:c73d:a786 with SMTP id y11-20020a05651c154b00b0025ec73da786mr6211788ljp.397.1660641875620; Tue, 16 Aug 2022 02:24:35 -0700 (PDT) Received: from krzk-bin.. (d15l54g8c71znbtrbzt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1782:dd68:b0c1:c1a4]) by smtp.gmail.com with ESMTPSA id v11-20020a056512048b00b0048a8c907fe9sm1326420lfq.167.2022.08.16.02.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 02:24:35 -0700 (PDT) From: Krzysztof Kozlowski To: tomasz.figa@gmail.com, linus.walleij@linaro.org, saravanak@google.com, alim.akhtar@samsung.com, s.nawrocki@samsung.com Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before registering them Date: Tue, 16 Aug 2022 12:24:32 +0300 Message-Id: <166064186857.38288.3043355425920212927.b4-ty@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220727013349.3056826-1-saravanak@google.com> References: <20220727013349.3056826-1-saravanak@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220816_022437_421540_CA27A4B0 X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 26 Jul 2022 18:33:48 -0700, Saravana Kannan wrote: > As soon as a gpio is registered, it should be usable by a consumer. So, > do all the initialization before registering the gpios. Without this > change, a consumer can request a GPIO IRQ and have the gpio to IRQ > mapping fail. > > Applied, thanks! [1/1] pinctrl: samsung: Finish initializing the gpios before registering them https://git.kernel.org/pinctrl/samsung/c/152a81a0b1204e9c7f4af0004b5ed7a8d67dd037 Best regards, -- Krzysztof Kozlowski _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E626FC2BB41 for ; Tue, 16 Aug 2022 10:33:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234656AbiHPKdx (ORCPT ); Tue, 16 Aug 2022 06:33:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234716AbiHPKdZ (ORCPT ); Tue, 16 Aug 2022 06:33:25 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3733383F2E for ; Tue, 16 Aug 2022 02:24:37 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id e15so14123580lfs.0 for ; Tue, 16 Aug 2022 02:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=dA9DhESaxIAdSuqYA69VElvQhXKaLx6GMaT3o/MxfcQ=; b=pAYcHJ/DCBmLR9cpFpCsw+KdXs1oauKhBl0AkYjD7c8nyjJj3+eSFlS1/VCuw6wHn9 G6OSm0FBh/QkaDRo1ti/hDuY4VmQvslzvGnlspUuKrS3Ky3DqzYNHDKNgYRhw1Cpkhnu cQtq6kzHMGotOKUXCPwoF0INia1hvQ/0Wt/ItkiqaFpHIy9U0m0cfVYiINu5hbBYp9bK 72rA5DZv4lzP86L9AgRiQoJjX8/H1O7S3YDKfwWUZan2CnkXRaTyakvAAzoE+Wd/YAAd Hp/L5aZT4N6+3GtRgdA6f5T5yzIrcXG+IQ1Zr2670IWXX4JWNoWAye41nXDKSW7HVCnC aj+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=dA9DhESaxIAdSuqYA69VElvQhXKaLx6GMaT3o/MxfcQ=; b=1Q152FuLyaJuRCZaD70hjcKGbgVjWTocFDll3BwH7chy5w/EMMqveCIEagrQ7ZzlYt Bp44PRqEzm/yGPiVtl/R4pA6TOaN1CbUUWE1y15LtxPATse/xSKJi1YK25DRXVzMzQyM TUo1HAUprlyGiDL8yvlT9CG8Se+lnLpdbgUgifA1fXY62bv7SS1nFVTCPJI5gkoGpNx4 dtVkXF6MebanN0XxFPXQYOjnpBGNAGkZl0v28b0kBRPEIPT7eVs/q6iZ4OORMvMYCIFA dZFP5QqBT5HJ9PtSRIMHuvzDrNQWtIkvVTyp2W2LoBqjDJLFy4/W4ybQP1IJyLDHRxub wAfQ== X-Gm-Message-State: ACgBeo0I0fX3N9vB8z1RLmi/ZqoD3kGGxWKvs2JqqImDf2nYgdBib751 doQ23Qx5Uij2SbwQn3wrynO3Xg== X-Google-Smtp-Source: AA6agR4SacvxqdwEQnvdddBBMXsDS1BirINw4bHykF8sOxTwdBrYtb13QtvhxD+krOjDjpFrrNwVeQ== X-Received: by 2002:a05:651c:154b:b0:25e:c73d:a786 with SMTP id y11-20020a05651c154b00b0025ec73da786mr6211788ljp.397.1660641875620; Tue, 16 Aug 2022 02:24:35 -0700 (PDT) Received: from krzk-bin.. (d15l54g8c71znbtrbzt-4.rev.dnainternet.fi. [2001:14bb:ae:539c:1782:dd68:b0c1:c1a4]) by smtp.gmail.com with ESMTPSA id v11-20020a056512048b00b0048a8c907fe9sm1326420lfq.167.2022.08.16.02.24.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 02:24:35 -0700 (PDT) From: Krzysztof Kozlowski To: tomasz.figa@gmail.com, linus.walleij@linaro.org, saravanak@google.com, alim.akhtar@samsung.com, s.nawrocki@samsung.com Cc: Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, linux-samsung-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v1] pinctrl: samsung: Finish initializing the gpios before registering them Date: Tue, 16 Aug 2022 12:24:32 +0300 Message-Id: <166064186857.38288.3043355425920212927.b4-ty@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220727013349.3056826-1-saravanak@google.com> References: <20220727013349.3056826-1-saravanak@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, 26 Jul 2022 18:33:48 -0700, Saravana Kannan wrote: > As soon as a gpio is registered, it should be usable by a consumer. So, > do all the initialization before registering the gpios. Without this > change, a consumer can request a GPIO IRQ and have the gpio to IRQ > mapping fail. > > Applied, thanks! [1/1] pinctrl: samsung: Finish initializing the gpios before registering them https://git.kernel.org/pinctrl/samsung/c/152a81a0b1204e9c7f4af0004b5ed7a8d67dd037 Best regards, -- Krzysztof Kozlowski