Message ID | 20200928042611.1696178-30-sjg@chromium.org |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=AF3g/Y1D; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C08kC5Nrfz9sSn for <incoming@patchwork.ozlabs.org>; Mon, 28 Sep 2020 14:32:03 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A33A78250D; Mon, 28 Sep 2020 06:27:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="AF3g/Y1D"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C517282405; Mon, 28 Sep 2020 06:26:56 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3A292823EA for <u-boot@lists.denx.de>; Mon, 28 Sep 2020 06:26:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oi1-x244.google.com with SMTP id m7so10257026oie.0 for <u-boot@lists.denx.de>; Sun, 27 Sep 2020 21:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RyEeLGzLEWZ8ytU/uJ5Qv2/vCaTciAM2vXXBulJdcHc=; b=AF3g/Y1Dhka0TC3dE0J1qc8FDz9TD/awlYwHtQp4cgt7oCPoyI8qdrRDSDETzgWtSU 6CRYAGWhRs0yoX1PO8IE8SOGW3pDuewR2TvduyRgslGe8qZwAW18W0hQAsKy60yz4p82 cIjB+j3ltnUe8/9ffNd/b0pDnX8I3N0PtvRpU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RyEeLGzLEWZ8ytU/uJ5Qv2/vCaTciAM2vXXBulJdcHc=; b=bVLaGk7bnlUJd1n8QyNiWtSBJL5759Q69xRfrIPRJmpnQ/VXRAeovx7m/AUXdook5b pyNtWLSnWc3dNElptyUGYk0AdTa6VANhlU3Dl/HVbobfrX2ZeY9AoKiK+vkon4kh7k+D 9eB0cqGo83l4hhVZ7NRh7Q6z95SihlmMdfbknboqMvoof+yadgNHUny0s9cBIQszDqRj FpufVRji3VECDtp3mSE44Yy+/Vt0U4K3BK55n3cPtvcddTE2q+wxcHBj1SKYHGvwQ4Xa 6zFudAM9oJs4doSUydOUToHGNuKfkbIyMUOYJMu6cDX6Ovcs2XDKsbtfEWvUkgHpdmn3 +e7w== X-Gm-Message-State: AOAM530vOHIhWPlDdNlbXJuX0GHd3uDRiDsSPZekWJHTfI+3878qHEnj 8N+5M7DJdH08ucGSKLymuYitGqaRxtBy+UrV X-Google-Smtp-Source: ABdhPJwo9XOZ/1vX/ltCmZI8lT6IyB1Rp2Veqo5fo8AonSAOmlNUrZQQ2M34S3p4r2kgkejId9qMhg== X-Received: by 2002:a54:440b:: with SMTP id k11mr5041251oiw.137.1601267212987; Sun, 27 Sep 2020 21:26:52 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id k51sm2620579otc.46.2020.09.27.21.26.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 21:26:52 -0700 (PDT) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>, Wolfgang Wallner <wolfgang.wallner@br-automation.com>, Walter Lozano <walter.lozano@collabora.com>, Simon Glass <sjg@chromium.org>, Anatolij Gustschin <agust@denx.de>, Bin Meng <bmeng.cn@gmail.com> Subject: [PATCH 31/32] x86: pinctrl: Silence the warning when a pin is not found Date: Sun, 27 Sep 2020 22:26:10 -0600 Message-Id: <20200928042611.1696178-30-sjg@chromium.org> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog In-Reply-To: <20200928042611.1696178-1-sjg@chromium.org> References: <20200928042611.1696178-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
x86: Allow Coral to boot into Chrome OS
|
expand
|
On Mon, Sep 28, 2020 at 12:26 PM Simon Glass <sjg@chromium.org> wrote: > > This does not necessarily indicate a problem, since some pins are > optional. Let the caller show an error if necessary. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > drivers/pinctrl/intel/pinctrl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/drivers/pinctrl/intel/pinctrl.c b/drivers/pinctrl/intel/pinctrl.c index ba21c9dcc2e..e3d24646344 100644 --- a/drivers/pinctrl/intel/pinctrl.c +++ b/drivers/pinctrl/intel/pinctrl.c @@ -154,7 +154,7 @@ static int pinctrl_get_device(uint pad, struct udevice **devp) return 0; } } - printf("pad %d not found\n", pad); + log_debug("pad %d not found\n", pad); return -ENOTBLK; }
This does not necessarily indicate a problem, since some pins are optional. Let the caller show an error if necessary. Signed-off-by: Simon Glass <sjg@chromium.org> --- drivers/pinctrl/intel/pinctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)