Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1063219ybt; Wed, 1 Jul 2020 17:47:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHhxrEzJLzElXhjLRWOPn4IsUz+9RdQiYrTpdYXfkuId2QmwB52HU8nH2rWDIj2kyFdl/R X-Received: by 2002:a17:906:1747:: with SMTP id d7mr17159721eje.39.1593650879087; Wed, 01 Jul 2020 17:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593650879; cv=none; d=google.com; s=arc-20160816; b=NvkyAbg4RBLJSx6IlNgwv4+rExO89KIPzzQr1V7tj+Pk5UlRSsRuG4HK7zhsUqGOjD EpHrnWfYKx6GuVjvXsamxaRpuPWDlJq+Lmh/o1KZcJtgtkVHAZ3i+YnAoozLrk05QFGX 0jmzRKDe019rkLtD6OnjHK2ufxzKZrKFdxoJAsHtnLgpg2FqVHOn8mWHTQ4Mk8sIDCIE C1pLR7eLHwBgp1k/aI1Pnb/+Gk4H6OzS3FdtsmREpUnnYa5MYrWHTUBwmFhCclKtgImv ZSxzNzpPRSMHvboyYMjaz5SKmXAFL6Fcr2CQyTqP+t5gwTZINuKD0aj1CbtJcIregB++ aygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=cr1O3j0g2Qo31hxYu1nd+OKIhFic8UjzEN5/LrLf1Rg=; b=UilfuRfcBMd9+LEAWDtEGjKwaDlLtpI8hyiHvxxs0q6PT0HEhpy7sOyxhIdPzk+tSH EK0gNdsd71aKvFU6FbjGYoQN9xeM5id2Tr0ff5N6XWIvL5paHVEA/XM0YwUH0snFiTD/ RWDqhB6LgPP+LIObYkn3kIoTQVAKfLPOMeR/TZbabbN5XYT2VoVoHPfdYZzUzaMKu4UH VMr5gVpz1gpj9081CQ3+EjRVcy55YvsJHfd2Tho5+DYJ0pQvBUscg1Qy7jGBGP8gYotB HhAOlQojBgE2hikWyHMTAVXU0UyED/6HLNYWWAL2556qShQLSo0RlQ8o2eITqcfPuQ+Z 1kXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="BW5hWve/"; 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=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si4957923ejn.680.2020.07.01.17.47.36; Wed, 01 Jul 2020 17:47:59 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b="BW5hWve/"; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727027AbgGBApH (ORCPT + 99 others); Wed, 1 Jul 2020 20:45:07 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:21114 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726389AbgGBApH (ORCPT ); Wed, 1 Jul 2020 20:45:07 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200702004504epoutp030d7893fa46d93ef358a00c7dd3e54f74~dyN9EJOV21762217622epoutp03U for ; Thu, 2 Jul 2020 00:45:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200702004504epoutp030d7893fa46d93ef358a00c7dd3e54f74~dyN9EJOV21762217622epoutp03U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593650704; bh=cr1O3j0g2Qo31hxYu1nd+OKIhFic8UjzEN5/LrLf1Rg=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=BW5hWve/DGwbURL4rnA3BbmktMggL9hcf6OpJpX0ekc/FH42UcvsO4zWSdDpowEp9 hi6X75NDnOoq2AXT8B9NJWlhTkURU7yhEXB6l+HX9cN5eFRtBz20T5bsnke1XtWCHd YxgtPJQEZesAoDw/gvQt+QuHXcmstGpwkBEeyttE= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200702004503epcas1p487e96ff72e39c320da2c74cd5f44c81e~dyN8e4WAR1635916359epcas1p4L; Thu, 2 Jul 2020 00:45:03 +0000 (GMT) Received: from epsmges1p2.samsung.com (unknown [182.195.40.154]) by epsnrtp3.localdomain (Postfix) with ESMTP id 49xzrp6tKbzMqYkh; Thu, 2 Jul 2020 00:44:58 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id EB.C8.19033.A0E2DFE5; Thu, 2 Jul 2020 09:44:58 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20200702004458epcas1p4fdfcf011b6e880ad886ad5022a51c6b5~dyN3RyhPq1281412814epcas1p46; Thu, 2 Jul 2020 00:44:58 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200702004458epsmtrp244a74758c68d61794b2991b37abc29b9~dyN3Q1iT62661626616epsmtrp2k; Thu, 2 Jul 2020 00:44:58 +0000 (GMT) X-AuditID: b6c32a36-16fff70000004a59-06-5efd2e0adc0c Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 2E.62.08382.A0E2DFE5; Thu, 2 Jul 2020 09:44:58 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200702004457epsmtip27c5c6690082e9279945405425055c242~dyN27uuPo0248402484epsmtip2Q; Thu, 2 Jul 2020 00:44:57 +0000 (GMT) Subject: Re: [PATCH v4 10/37] PM / devfreq: tegra20: Silence deferred probe error To: Dmitry Osipenko , Thierry Reding , Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Mikko Perttunen Cc: =?UTF-8?B?QXJ0dXIgxZp3aWdvxYQ=?= , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <14271aed-5fb6-14e1-3fe9-ef8d0c5013c4@samsung.com> Date: Thu, 2 Jul 2020 09:56:13 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <20200609131404.17523-11-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02TbUxbZRTH9/S2ty2xeCkwHnDOcl3MwFFaoOxiAGWWpRM/oE00EKVc6V1L KG1ti3HDOOaAAXMbYAax4UVGpttFFBDYAEkVOhE7cIhuOEeQbEsWBmVQIEh5sZfrIt9+55z/ ec7zf14EiPguGibINdooi5E04Kgft3swQhblJ93Ikn21EE9MNZQAwr34gEc0Okd5RMvCPUD8 vjyPErX9HShRbL/IJUY+meUT4711KOE56wRE+ZIdJcZ+SSX+OnkZJapbLwCipN/JJzZvtXOJ f3obuK8EqOYnSviqHvskX/Xb6D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= X-CMS-MailID: 20200702004458epcas1p4fdfcf011b6e880ad886ad5022a51c6b5 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200609131843epcas1p352d1dfcbca81988d3363036d762dd47f References: <20200609131404.17523-1-digetx@gmail.com> <20200609131404.17523-11-digetx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, On 6/9/20 10:13 PM, Dmitry Osipenko wrote: > Tegra EMC driver was turned into a regular kernel driver, it also could > be compiled as a loadable kernel module now. Hence EMC clock isn't Looks good to me. But, you better to add the commit information about Tegra EMC driver with commit-id ("patch title") format into patch descritpion. > guaranteed to be available and clk_get("emc") may return -EPROBE_DEFER and > there is no good reason to spam KMSG with a error about missing EMC clock > in this case, so let's silence the deferred probe error. > > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra20-devfreq.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/devfreq/tegra20-devfreq.c b/drivers/devfreq/tegra20-devfreq.c > index ff82bac9ee4e..6469dc69c5e0 100644 > --- a/drivers/devfreq/tegra20-devfreq.c > +++ b/drivers/devfreq/tegra20-devfreq.c > @@ -141,9 +141,11 @@ static int tegra_devfreq_probe(struct platform_device *pdev) > > /* EMC is a system-critical clock that is always enabled */ > tegra->emc_clock = devm_clk_get(&pdev->dev, "emc"); > - if (IS_ERR(tegra->emc_clock)) { > - err = PTR_ERR(tegra->emc_clock); > - dev_err(&pdev->dev, "failed to get emc clock: %d\n", err); > + err = PTR_ERR_OR_ZERO(tegra->emc_clock); > + if (err) { > + if (err != -EPROBE_DEFER) > + dev_err(&pdev->dev, "failed to get emc clock: %d\n", > + err); > return err; > } > > -- Best Regards, Chanwoo Choi Samsung Electronics