Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp27511lqd; Tue, 23 Apr 2024 13:25:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfVcdCPFFvjfZd5ma6te0V2Ab28agzQAYmPyovA+ho/ghlwPasIZLLBn4YOiO1rbf/hZ7QGI3XkSs8zb0iMjXbGgw0Vz5PCSiYq9Ff+Q== X-Google-Smtp-Source: AGHT+IEluVZTJbcx7sNKwpMxx8YuBvSXKUsz75E0b7VrNP4J2V8Hpd6B2iSuKj9ELPBFT4Jc8KCP X-Received: by 2002:a05:6a00:2e1a:b0:6ea:e841:5889 with SMTP id fc26-20020a056a002e1a00b006eae8415889mr1028485pfb.33.1713903909110; Tue, 23 Apr 2024 13:25:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713903909; cv=pass; d=google.com; s=arc-20160816; b=0sBY/lNyQhGEwGpTcZAR4A4YMSuUo5YUT5CZrejzTUl2K/WMZVkkUhr3PZpXtihqsZ nV4GfuZKbq9/NROA02nE4ght5IBvZkRwbPclixELT7byPR4svTjenEsh37uvhSW1rqe2 a1jD7vVmcuPc11l7TUJVZEeAKUZYuRJyOkRma/z2NKe3nGEcT7SyyniWaUI9yGvAG+tj nds8yC8FsATX1mu+DzflZbu8s3cI90zgzeqF3LL6NGrCiypI3RUzGWesbvLebsIWU+Js buVMq9ouCzV6hIPo23z1pQi/IRDelBJcTiTsC9ZU6gwEJbDqS9aFz+g9U3LN1wRc0oKZ 4PUw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=ERg1J41d06etnj+H8lues6SdgOvc50LdXU0Ny6V07n8=; fh=N5SVQBHgzHAGXOkPFs3PmAs5tr4+AF/bkDGbn2jhwrQ=; b=OKvoPv96YC9We+tKLSGj+/1CzRlZVO3tlq+zScmcLj3Ge8uaPaHa2pk4e/6a6dKAzr mukqnTTUeV9Dlgo6ssJYrxRdq14Yz7Ie3+A9hu1OSGR9Og92APWP1ki17B2gbvarkufO 61l+3LH/Qaspp4sZUCN7+aGBq2Q2FyH3fpGuHn8dBX4faE9jdCyuuR+Lo2L37Ku9qn9u X45fDbgXlnKynN+FsDhsrxpBm2V6vpylES8EP0ZAqinosGM2TO5u28dMe4EJoY/NekDn eK9R643L6AJZx6yR+P2EGY/PIv4lx9rBQmAV3h2isVmx/xQ+t5L77K6i1p+GgIOIHp3I vCaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H+hDC1OJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-155845-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id hq14-20020a056a00680e00b006ed89d1cc23si9841123pfb.356.2024.04.23.13.25.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 13:25:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155845-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H+hDC1OJ; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-155845-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155845-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0EA88285EF1 for ; Tue, 23 Apr 2024 20:22:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01361142E79; Tue, 23 Apr 2024 20:22:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="H+hDC1OJ" Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE7BB142919; Tue, 23 Apr 2024 20:22:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713903760; cv=none; b=uwCaBc24QVdXfgkI3QvUHCzKbyYbiQL/mXwgw1b8XTF7GKYS4YLdEcuTZGRvfmCfhczdBrYeljCtQjqClwE1XJoI8W+5YA7xW13dqa+Gj1OkaX+zVHEmkuikpQvVdJxkIvSLvyn3xRRKYE/xWq/ALBWnZ+TKd0eGsDm0TrPZanM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713903760; c=relaxed/simple; bh=ERg1J41d06etnj+H8lues6SdgOvc50LdXU0Ny6V07n8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OF6pATJYJ0i5B6XovwaCkjACM/Jnm502EBjRG14Ce/49Ro8tVM9zarH4uyGv1vY0ktTVemp8PLsSqB/yE+Wj+nXtIGy/2WD/MGjFWiATZUErudoZWtlR3PhcqdYbgUVqBQLPXRkkY+hqxnXEhharTW1wucPzToUxMh8+J1G4wE4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=H+hDC1OJ; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-2ab48c14334so1019611a91.3; Tue, 23 Apr 2024 13:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713903758; x=1714508558; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ERg1J41d06etnj+H8lues6SdgOvc50LdXU0Ny6V07n8=; b=H+hDC1OJhXQQWh5Asq00Et7iinm8dPNnaIsBoWcfW1IEypliiouRCwO7XO+YHHajkZ Op1A5CHv7RhcQopw0tKsBpYzmuvDXHjfG2tS5Lo7KqZtfuUpM7ELlycU8GCnE0lwK8bm IjpSd1SNYeKIxY6ecR13RzRQy6dTQzTAtp2Op+on6qbcLNgLOzKLTJHyf2eTej4NQq8j pkSXGLXq/MOEO8yZnrvPRLDryS+PJnC/WIoKDQsRQ441JeJpbxRL2hWuHbJqzlJoHAnM Nf7P11tnhOQ9tf+BHLIdZJ+Qi3zyGk0HdkIEWjcEHPAVggpqf/yjkRk9GcjcMiflocNE 9RoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713903758; x=1714508558; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ERg1J41d06etnj+H8lues6SdgOvc50LdXU0Ny6V07n8=; b=MjYbICvbitEKg8gYZ6pLBBr+fy2LArP+eCu0gRazFXInCj5vUWe3K2UcUhhT+EsW2k fym7V8iipagXrUZdfP4NQR4OyQRtq/KHOEdeBgIJaE0U4oM/UCFmXxYlxP1+Rirs5CMd JcDmOHEsJ1F+QjU+magdUxNuTeWRJLFbyaZakJRUogz3NQNNW4+PnXHPELAlt4GIygUr gLpE1BhTfnUj0zaa9ylrF84AL9jFykc4LssZ2KkJQNAkrFNaIenVUr0Xzvqu1PaNVyk+ 9SzS2nmosCRsLLZnYbLPq27bDBVD05Yy15cAItq3vz5RyJf8QN2b0bP/V6O/R5+JBrT7 i/tg== X-Forwarded-Encrypted: i=1; AJvYcCVIFMHTDd9hpFeMjXZrHUD2Cisv0HVKdPPO808Q+izrTZ8asu0lkwqOrh3PXmgWBtfuMJN7frMh+FeBTe5hmorPR6ekfEJIshB5NlTuu35bebbfsreq7MSRwnhWGL1HtyBQCgX1XhZ3thczFm5EuYPZnty3MiEY492BjXjjEFgaLMsIo3ImkeF1kk45w90APvsHJDNgfpaftAxWO4KtOiUK8YPCC0PEvTgFPvARpqp9tF0pVqSL8Sruscbt1UpTwA== X-Gm-Message-State: AOJu0YwNsJ3ZY/CTj1p1YAYitR4LNJcyGA/fXg7FoQJtb88/lnDE9USh /3uTYLh7npnJP/vZLuI5NnghuqzM+fJ8hw/5T+LInjaqYaHdTQu5ff8jTcCSVLs2tUsJnYBdieD SHGAzkl5bclpxv2IkvHT7SfJrLI4= X-Received: by 2002:a17:90a:408e:b0:2a5:3f1f:a1d1 with SMTP id l14-20020a17090a408e00b002a53f1fa1d1mr521558pjg.0.1713903758085; Tue, 23 Apr 2024 13:22:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240423172208.2723892-1-andriy.shevchenko@linux.intel.com> <20240423172208.2723892-4-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Fabio Estevam Date: Tue, 23 Apr 2024 17:22:25 -0300 Message-ID: Subject: Re: [PATCH v2 3/4] PCI: imx6: Convert to agnostic GPIO API To: Frank Li Cc: Andy Shevchenko , Manivannan Sadhasivam , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, Vignesh Raghavendra , Siddharth Vadapalli , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Yue Wang , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Xiaowei Song , Binghui Wang , Thierry Reding , Jonathan Hunter , Thomas Petazzoni , =?UTF-8?Q?Pali_Roh=C3=A1r?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Apr 23, 2024 at 5:16=E2=80=AFPM Frank Li wrote: > if (IS_ERR(imx6_pcie->reset_gpiod)) should be true. then dev_err_probe() > will run and print "unable to get reset gpio\n" with error code > -EPROBE_DEFER. dev_err_probe() will not print an error message when the error code is -EPROBE_DEFER. That's exactly the point of using dev_err_probe().