Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1082587ybt; Wed, 1 Jul 2020 18:25:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk//ggNnZAZl7ifTskY4QhdCKj3YONuKTgW1HwQWY4Su84Xb8NAYm0l0l6N5G2C5pX3ZMu X-Received: by 2002:a17:906:7802:: with SMTP id u2mr26142915ejm.478.1593653115938; Wed, 01 Jul 2020 18:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593653115; cv=none; d=google.com; s=arc-20160816; b=DSmAJ+dELYM8QZBZj1axKqbGi8vn0bst5SluFwLzWLh36BwJckErF8kFlkc/rftfyT ZgdvnCBtC+mJsBk73cFAwaoInVXqh5Mxo0t4UDbXxBi2tHXyeyhVaAhc55/oZqhg8i/y Bb/kLsNDMTD8HMTq2g8N46SCyOo0ewe7ogcVtRqDJxT9yNKuBL8Txjs4guj67TtiSvPe IlfQuE4ZL5frdkqheSoCzz3C00Ghe/gT5DgCU6Mq42PstzD2PVvrbw8349QwAVzi4aa9 cDJ3ADidkC3bNlBfiPcaUujPuy07eGEQsV2TxNL9rKSkewc9coOtKE/28yVqBShGI0d9 Z0hA== 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=BIJ8exSrtpBrvnlfhORDNhW3IdqqFicMwvVZdnwAlgA=; b=q/lmB6Du4vgkfZukTpxtY36irlIoQC9SRlIspVl9WpulAu+lW2vk/rngEyoEU40lEm TMRTP+60VYgpvE2Pn+Yl8/wniOell/VDWfNepXo3kiqFbZnhQHp0H+W1Njb7JhMgYCwY ceu6rsRidyEFjuaWHJleW3dRLI1dzVWofetqIwA0Kka/UI9KB2CKOIq4Wz5Vswi8qhvM EyC8FGNIHUDOj4yt5rL0FuwDJBV4+8N5PCDCNmkte77ubD/hRUg2xMUeesgdGLg8x6YS Sjrff12IW/dll+grRk4+PTGdHvxc0C7Qi0anCx1VC/4dJlT+wRMV1ukZY4awhYnuGY44 TCeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LfPsp3YK; 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 by12si4687800edb.99.2020.07.01.18.24.52; Wed, 01 Jul 2020 18:25:15 -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=LfPsp3YK; 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 S1728585AbgGBBYD (ORCPT + 99 others); Wed, 1 Jul 2020 21:24:03 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:43461 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728487AbgGBBXv (ORCPT ); Wed, 1 Jul 2020 21:23:51 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200702012347epoutp0173db5c4bff1c50103592d0675745bc29~dyvwcAb6G1948219482epoutp015 for ; Thu, 2 Jul 2020 01:23:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200702012347epoutp0173db5c4bff1c50103592d0675745bc29~dyvwcAb6G1948219482epoutp015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593653027; bh=BIJ8exSrtpBrvnlfhORDNhW3IdqqFicMwvVZdnwAlgA=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=LfPsp3YKR8kXsQSyds2krh39VDoL1EP+twUykAj+nF2idGNOEvdoICZg3Ibt+HI37 QRdpFjvP1J5uO2Y1R7RNME03igxDbCUEU3oNp3krXLEC0A6OYyGkEj1mnF0zsoipcx 84AFSbAdkmdtgJHQzMnZL4aWaNNvmnXZqLDSThg8= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200702012346epcas1p1c09d5dbb8bbeb1971d6ad253475d9431~dyvv5rLx41303413034epcas1p19; Thu, 2 Jul 2020 01:23:46 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.40.158]) by epsnrtp1.localdomain (Postfix) with ESMTP id 49y0jX3GSFzMqYlp; Thu, 2 Jul 2020 01:23:44 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 1D.C2.28578.0273DFE5; Thu, 2 Jul 2020 10:23:44 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200702012343epcas1p1da44b969ce1f7e8bd846e8ad189f4a9f~dyvtKsN-g1302913029epcas1p16; Thu, 2 Jul 2020 01:23:43 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200702012343epsmtrp1866b875c83d13cc0e2f99f86f2d9dd09~dyvtJF35c1496914969epsmtrp1Q; Thu, 2 Jul 2020 01:23:43 +0000 (GMT) X-AuditID: b6c32a39-8c9ff70000006fa2-2d-5efd37207f79 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E5.D6.08382.F173DFE5; Thu, 2 Jul 2020 10:23:43 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200702012343epsmtip230d85c2293146ac2c4cb517e993ff3ca~dyvs2ipBj2710327103epsmtip2z; Thu, 2 Jul 2020 01:23:43 +0000 (GMT) Subject: Re: [PATCH v4 11/37] PM / devfreq: tegra30: 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: <8e941321-5da6-e9e7-6a4e-8c0477911ebd@samsung.com> Date: Thu, 2 Jul 2020 10:34:59 +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: Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPJsWRmVeSWpSXmKPExsWy7bCmrq6C+d84g5/fJCzuz2tltHj36Smr xfwj51gtVn98zGhx5et7NovpezexWbTMWsRicbbpDbvF5V1z2Cw+9x5htOj8MovN4uIpV4vb jSvYLCatncpo0br3CLvFv2sbWSx+7prH4iDo8f5GK7vHzll32T0unfvD7LFpVSebx51re9g8 7ncfZ/LobX7H5tG3ZRWjx+dNcgGcUdk2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW 5koKeYm5qbZKLj4Bum6ZOUC/KCmUJeaUAoUCEouLlfTtbIryS0tSFTLyi0tslVILUnIKLAv0 ih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e8ad189f4a9f 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: 20200609131843epcas1p3a5b06308559ff03ef1b27521f412b656 References: <20200609131404.17523-1-digetx@gmail.com> <20200609131404.17523-12-digetx@gmail.com> <136b430d-2097-7b2b-d7dd-b438deee8f5d@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 10:20 AM, Dmitry Osipenko wrote: > 02.07.2020 03:59, Chanwoo Choi пишет: >> Hi, >> >> 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 >>> 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/tegra30-devfreq.c | 9 ++++++--- >>> 1 file changed, 6 insertions(+), 3 deletions(-) >>> >>> diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c >>> index e94a27804c20..423dd35c95b3 100644 >>> --- a/drivers/devfreq/tegra30-devfreq.c >>> +++ b/drivers/devfreq/tegra30-devfreq.c >>> @@ -801,9 +801,12 @@ static int tegra_devfreq_probe(struct platform_device *pdev) >>> } >>> >>> tegra->emc_clock = devm_clk_get(&pdev->dev, "emc"); >>> - if (IS_ERR(tegra->emc_clock)) { >>> - dev_err(&pdev->dev, "Failed to get emc clock\n"); >>> - return PTR_ERR(tegra->emc_clock); >>> + 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; >>> } >>> >>> err = platform_get_irq(pdev, 0); >>> >> >> As I commented on patch10, I recommend that you add the Tegra EMC driver >> commit information into patch description and Looks good to me. >> > > Hello, Chanwoo! > > This patch11 and patch10 are depending on the patches 4/5 (the Tegra EMC > driver patches) of *this* series, hence there is no commit information. > I'm expecting that this whole series will go via tegra tree once all the > patches will be reviewed and collect all the necessary acks from you, > ICC and CLK subsystem maintainers. > > Please feel free to give yours ack to the patches 10/11 if they are good > to you :) > > OK. Looks good to me Acked-by: Chanwoo Choi -- Best Regards, Chanwoo Choi Samsung Electronics