Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1083919ybt; Wed, 1 Jul 2020 18:27:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKMw5hi+vtJcgDMX7EYxR7xS6oH8aXwKvqXtYIEyjgvuAMuJ6vZrxEJexWOp78UyrHBbwR X-Received: by 2002:a50:9b18:: with SMTP id o24mr32673437edi.335.1593653275788; Wed, 01 Jul 2020 18:27:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593653275; cv=none; d=google.com; s=arc-20160816; b=DTwb8FMW6M3rbCrhb/ImobLZP4TISC4W4Zfuo8YDIUArrYdRRNAEF4YjhU193vjTor lznQhpjfN74bIyLYHoDhjXZ5pRx+/Tfl8+YPlTgJAOa+GSNny3FOmSwRvbkag4ZzQqec XplSC+nmS/Xsi7bPgRWf1OlU6RgkWCFkRVvx3QKQ3KovyI7K6tZGFp0U9h0aA+qwlmzV JGIZDmMFN9wqdyzF8Vzbb/YOg9bKawOTymmPv08zHJQC2YuNLIHEs+Hdckljjq9dX3eO M+KQGOaATdysflsqBe75+J6gWXSgqU75xJnVsYOzGclTtUZoSZI6alZ0u02rqK8gWCYx 0aFw== 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:cc:to:from:subject :dkim-signature:dkim-filter; bh=Zdt1E8Bmc3DE34fUUv3jf+hWWfo2jX/u1CZkjX4C4r0=; b=CZv1RmTRa6EuYgJqSeW++I8D7mYNYYBjufdFY9amoaYhYpIbZRh8jZaJw+iwen23Tq 8JuLezUtFJNYyE/nim5gImMbWFjiogAgVIJ+7OwiPlyVxfG7t7D0DPvqQNgGOVW583tf 1B9p0cxgXGGBGbUQviZ8qvgQZ+Y8f24eCKQvaVqQPv+yzKY9Y1tPlThDSiKJwOTKGFtS XKoMM4CETZc5e4Ehdqpf72H1T6jNq0WewJLr+nwAQp/IDgi0kLC1fsdlijlHlda2rO8+ V2M4ovHRzpsmR11OnU/6BWorTPmkh339DXXptjIdxVQ1jruGFnl+4nwqAhgRYApkdXoS c0iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=roGXvLUv; 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 d5si4929619ejm.223.2020.07.01.18.27.32; Wed, 01 Jul 2020 18:27:55 -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=roGXvLUv; 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 S1728680AbgGBBYj (ORCPT + 99 others); Wed, 1 Jul 2020 21:24:39 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:43308 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728660AbgGBBYd (ORCPT ); Wed, 1 Jul 2020 21:24:33 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200702012430epoutp030f964081817d641e01fd27d6179be1f3~dywY8SYvB1994819948epoutp03U for ; Thu, 2 Jul 2020 01:24:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200702012430epoutp030f964081817d641e01fd27d6179be1f3~dywY8SYvB1994819948epoutp03U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593653070; bh=Zdt1E8Bmc3DE34fUUv3jf+hWWfo2jX/u1CZkjX4C4r0=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=roGXvLUv4B1erlQYiUpO7x7uFd2Rf2ud6hZVNAGrpFLa4SsTTPAO6aB2JI2SDQGBd 1lhbrOtVCinJBrctfpe87BUz3hjQOPcLNr1I8ov1QderqM1Fvw1kM3oIMQYm30NTM/ z1uQ6/0Rfa3BjRsnmlFwafEKYRi8InoF3O//rZoY= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200702012430epcas1p1d59fab40eade4851a6b7feae92b14e70~dywYgUkw-2508025080epcas1p1z; Thu, 2 Jul 2020 01:24:30 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.158]) by epsnrtp3.localdomain (Postfix) with ESMTP id 49y0kN0n4fzMqYkZ; Thu, 2 Jul 2020 01:24:28 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id EC.89.29173.8473DFE5; Thu, 2 Jul 2020 10:24:24 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200702012424epcas1p1d83a5cd89539fd382bff7ebf022e21d9~dywSyYOYV2975729757epcas1p1T; Thu, 2 Jul 2020 01:24:24 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200702012424epsmtrp251507e8224b7ea158d4176b744a3fd02~dywSxeIN81729917299epsmtrp2g; Thu, 2 Jul 2020 01:24:24 +0000 (GMT) X-AuditID: b6c32a37-f5587a80000071f5-0f-5efd3748cdb8 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 97.F6.08382.7473DFE5; Thu, 2 Jul 2020 10:24:24 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200702012423epsmtip1d2d4dd440c303ffbe7a317063904119b~dywSPDmPF2459124591epsmtip1N; Thu, 2 Jul 2020 01:24:23 +0000 (GMT) Subject: Re: [PATCH v4 10/37] PM / devfreq: tegra20: Silence deferred probe error From: Chanwoo Choi 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 Organization: Samsung Electronics Message-ID: <03db5226-e063-78d5-2607-01ca9bbaabf5@samsung.com> Date: Thu, 2 Jul 2020 10:35:39 +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: <14271aed-5fb6-14e1-3fe9-ef8d0c5013c4@samsung.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Te0xbVRz29HFbtnReXu5AdMAdIRnIo+sKhwn4WNmumSTMzUnU0BW4oYS+ 7C1Otqgdr9F2DAdzasNjGQ6FSggM2cBWMmQjFcEpj0ywwhzEbQFantHxmC2XRf77vnO+73z5 fuccPttnAgvk56h0lFYlUxDYNk77j3uiIsm4tfSY768EofGaYoBm56e4qLZngIssc/cBGlpy YuhzWyuGisxXOKi/YJqHBjurMLRQ1gOQYdGMoV9/SkZjZ77BUEXTZwAV23p4aH2khYP+7azh vOJNOu8W88gOs4NH/jawyiZbGw0Y+ceIFS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u xpddAwAA X-CMS-MailID: 20200702012424epcas1p1d83a5cd89539fd382bff7ebf022e21d9 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> <14271aed-5fb6-14e1-3fe9-ef8d0c5013c4@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/2/20 9:56 AM, Chanwoo Choi wrote: > 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; >> } >> >> > > The Tegra EMC drive is included in this patchset. So, don't need to mention the commit info. Looks good to me. Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics