Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1005010pxb; Fri, 13 Nov 2020 01:25:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzL0qInCvoBiXxwQZdvx3DfK8vm10Eks7y+rCeQaMITJwpbV87fpQUkAKfEuaZG+XDyj2G4 X-Received: by 2002:a17:906:ccd3:: with SMTP id ot19mr1095062ejb.44.1605259536079; Fri, 13 Nov 2020 01:25:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605259536; cv=none; d=google.com; s=arc-20160816; b=qukQX7zT8EcNItNru6pJKqD3ybBsj+sBOuckHOwF8CQ3G7PrdWPy5V0E9E249qGMcq 4aBZ5g5Udw9iEd9fSsmApNm8t7cISZXRK96z5zCxi0vVZWTHZA9HIp1ajMP5WjHEE1fK 5bfMcrZZjaavJbxCaTF1Q7Nd7QvZcHsORimmy7YxszNKccmifdw0kk+sp4dsQnY2BwHZ htdtvqwBhVWfy1FbC6AgfBnjXu6nN3GpPqe7RUoaEyk8HGjXxcn6jFDeUqyRInTYpcCY mqgYBF02AIy6LgVM7p3MndakJlM6KI5vLBjSqyxyOMJFyY16jIpx8hZPmsAMR0rWWoiM qikg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=jW9wXiL0GJuLyPme7G5JtmrdGa0/tP4O40Ns1vfyadY=; b=mrhrYanQj0A2cTZCr6jjXrcxOgRPDeSkUDj54+Aq6rO9um6EWPuy3EFSLcg7xyb83D VibnNsd00qekNashBrIi5d4espRFODCaDxKIRESL0ZxZGqJvVxaDXO5HOQIxKDs1sl/v kukDMIZ9VFt+JEHDPpewTBd5uE33AdzJov0RZZxXJRowlbtiya0G8zHLpTs4GZI2FjDt YYnpJ4UideJfKWCgY19B2Bu88tNBf29aPWM3dzVA4i93x5kCGOFMTRMheYPZ7IRjT+td YNI7P9N3z1D3vOdi+EbJXO4l6YlvaRrP/7ddU7xM6/RqywJE6C82Mm049x1HakLyLc/1 2jUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=MYoF28Q2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u13si1619016edp.102.2020.11.13.01.25.13; Fri, 13 Nov 2020 01:25:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=MYoF28Q2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726297AbgKMJVp (ORCPT + 99 others); Fri, 13 Nov 2020 04:21:45 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:6985 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726176AbgKMJVo (ORCPT ); Fri, 13 Nov 2020 04:21:44 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Fri, 13 Nov 2020 01:21:52 -0800 Received: from [10.19.100.45] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 13 Nov 2020 09:21:41 +0000 Subject: Re: [PATCH] phy: tegra: Don't warn on probe deferral To: Jon Hunter , Kishon Vijay Abraham I , Vinod Koul , Thierry Reding CC: , References: <20201111103708.152566-1-jonathanh@nvidia.com> X-Nvconfidentiality: public From: JC Kuo Message-ID: Date: Fri, 13 Nov 2020 17:21:39 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201111103708.152566-1-jonathanh@nvidia.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605259312; bh=jW9wXiL0GJuLyPme7G5JtmrdGa0/tP4O40Ns1vfyadY=; h=Subject:To:CC:References:X-Nvconfidentiality:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=MYoF28Q2jWCQvWTwpuoETJG1A4up1mDCHJ0Re11U6EO43y2cCHlZpZ+Kp6du4DB7m 88E5mh8E4sh61F4iFsmQXl79jmBCuOJOp4JYta5q8RRCfEnQd6NTnYz/lBDfU2bT46 XCwqS4tvQK/Tns4o3cKbOBUiuSKFZvB2RDN7Ek3Dnnhyg6EkJjJ12FulevqCTd87jj GF9mFUhIhSE+T4RiBHwXt/Zws8psTPTwmhnhXFTaAgH7CB5m7KN3+gUB2CIllF1LkQ pXlhN63UWKrMTnweTZkT/N7JvE2SRx4c4U24egYuIzi4APUYYafqQ8SI429YljUThu HSAX5NqFvx6Xg== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/11/20 6:37 PM, Jon Hunter wrote: > Deferred probe is an expected return value for devm_regulator_bulk_get(). > Given that the driver deals with it properly, there's no need to output a > warning that may potentially confuse users. > > Signed-off-by: Jon Hunter > --- > drivers/phy/tegra/xusb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/phy/tegra/xusb.c b/drivers/phy/tegra/xusb.c > index ad88d74c1884..2eafb813825b 100644 > --- a/drivers/phy/tegra/xusb.c > +++ b/drivers/phy/tegra/xusb.c > @@ -1200,7 +1200,7 @@ static int tegra_xusb_padctl_probe(struct platform_device *pdev) > err = devm_regulator_bulk_get(&pdev->dev, padctl->soc->num_supplies, > padctl->supplies); > if (err < 0) { > - dev_err(&pdev->dev, "failed to get regulators: %d\n", err); > + dev_err_probe(&pdev->dev, err, "failed to get regulators\n"); > goto remove; > } > > Acked-by: JC Kuo