Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4943531imu; Sun, 25 Nov 2018 13:21:07 -0800 (PST) X-Google-Smtp-Source: AFSGD/WpxvSryzs0e+9sB3bvCD1sB8axhyVtAuKk75vkXk18pO4nJoenqBrmydRz/q2V4x/A5ieD X-Received: by 2002:a17:902:2969:: with SMTP id g96mr24539497plb.295.1543180867164; Sun, 25 Nov 2018 13:21:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543180867; cv=none; d=google.com; s=arc-20160816; b=PZ1WOTQSGHuu1CyY8px2v4F7VwcnZFmh+zBI7xHPgwu2gbLmLJaM2esa0c050Xhbnv Cjjea4ZjfLPkQgxR1dIRdFTWjCWFaADzfnkIEZqMAxpyPkLw7LauXM9mMaFf4cPJrA1r mbMNlewQR24uNyyXkLIrQkxxkCyI6ogiO8dsyQgXKi8Z5j1NapDlrMbE9fvuJXqFjgq5 Q3pi2T99gnUzttse8gXgHU+5OTxhhF3xWQdwmS/IL1iyt998MeWOzFyU3Qm3ZTZGdbZS rjyxo5uRtJ+aP7O7Fs1KwQJQqeRbzdj4gznnyBzhd6e9dB/IxcPiQvfiujR6HMdQHe7p 1cNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:organization :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=pHzAzHhNc0z/FMpnZXFEjL0s8efZLZAz089bFx1FlsM=; b=WKnntlehGLIFkti6BCQCzPCLpofupezd9wgssSLJhWlbdTcGbfCNfpVyaHqjuG1HHI e/3g5pfHojp45TalR4vKSl5awqyiUpz+yf7awVL605d//98ImJJ2I9SsnkLZO7HJCw4K HgWlkvI3L8S1eh2F6/Gr88Sku3L+Nn3ZMEqtfocVhQDIJybQhd8w0ZZXyJBqz9Bw170U Vbquo3P/90PROSVuBcUN3q1PB24nTPuEBPDV55E1O+35ZPnfjmttbP0a1XpH+M9o+OG2 EhiKR+sPGVVSMyWsmZBwvBSuPQcLLmaXyHCaiNlMDSWbpBTurKepnBppPEQj4ZNB9apZ z6WQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si1185771pgn.61.2018.11.25.13.20.52; Sun, 25 Nov 2018 13:21:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726276AbeKZILr (ORCPT + 99 others); Mon, 26 Nov 2018 03:11:47 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:44599 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725863AbeKZILq (ORCPT ); Mon, 26 Nov 2018 03:11:46 -0500 Received: by mail-qt1-f195.google.com with SMTP id n32so15470346qte.11; Sun, 25 Nov 2018 13:19:47 -0800 (PST) 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:organization:content-transfer-encoding; bh=pHzAzHhNc0z/FMpnZXFEjL0s8efZLZAz089bFx1FlsM=; b=PBmF+yvorbXoceR7O/N/U0NZ7VGl9QXJiFQ4XFuGC+2a3jFyDf7gFu8ogprrN7fxEX MBEnENnGOx1BAwXwOVXuR8S59juoJKe7a9WhuOKXKk8DsiZJ2Q5OZJU5q5YNYiTnNM3U jeCeN5hPHT9OLF74QfPrwkQXdEbe604XPUHWwozYHOlBkyJ8Rjbeck+vAvL2FqejXA9a I1hgbxl2c82kE/9cFLPbH00i5q3lTwm7+dUBkRT4S8d8L22uTcvLahBA5AHFhn4hkQf4 r1Dc7yQKFUcECuFFGrpLwtintea+QsjabfWcErtMoh+gE6Fo6V/V1U+58M1vxC7gQ4LP SD4w== X-Gm-Message-State: AA+aEWbQk47OCPAo1b39sPzVHzPcrd57G9AlrH/f2TAqHCaqXBatwUET 2XbAx7ETaNCzpDYBk0igBS/NzcbH X-Received: by 2002:ad4:410c:: with SMTP id i12mr23163168qvp.219.1543180787011; Sun, 25 Nov 2018 13:19:47 -0800 (PST) Received: from localhost.localdomain ([181.220.65.91]) by smtp.gmail.com with ESMTPSA id q70sm33922665qkq.10.2018.11.25.13.19.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Nov 2018 13:19:46 -0800 (PST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sun, 25 Nov 2018 19:19:39 -0200 From: Otavio Salvador To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Cc: Otavio Salvador , Fabio Berton , Jose Abreu , Giuseppe Cavallaro , netdev@vger.kernel.org, Alexandre Torgue , Maxime Coquelin , linux-stm32@st-md-mailman.stormreply.com, "David S. Miller" Subject: [PATCH 05/13] net: stmmac: dwmac-rk: Do not print error when PHY regulator is not found Date: Sun, 25 Nov 2018 19:18:59 -0200 Message-Id: <20181125211907.9895-5-otavio@ossystems.com.br> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181125211907.9895-1-otavio@ossystems.com.br> References: <20181125211907.9895-1-otavio@ossystems.com.br> MIME-Version: 1.0 Organization: O.S. Systems Software LTDA. Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The PHY regulator is optional, so when it is not present move the message level from error to debug, which is more appropriate. Signed-off-by: Otavio Salvador Signed-off-by: Fabio Berton --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c index c895a9a6939a..6b4ea95a30e0 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c @@ -1242,7 +1242,7 @@ static struct rk_priv_data *rk_gmac_setup(struct platform_device *pdev, dev_err(dev, "phy regulator is not available yet, deferred probing\n"); return ERR_PTR(-EPROBE_DEFER); } - dev_err(dev, "no regulator found\n"); + dev_dbg(dev, "no regulator found\n"); bsp_priv->regulator = NULL; } -- 2.19.1