Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1064798ybt; Wed, 1 Jul 2020 17:51:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt0zG+fola35V9bd0HocxwrHzcKH1dq3njHRyGiI40gd/tBGvtqOW5DJ6Snmad49cAW7sx X-Received: by 2002:a17:906:4bc1:: with SMTP id x1mr16541872ejv.377.1593651074762; Wed, 01 Jul 2020 17:51:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593651074; cv=none; d=google.com; s=arc-20160816; b=zAEU/O/KksLMPPUyL4FadUXRzCBIYbPpIYxUbFwFcIXLwE0WUUneKjXKmvrSz906eB zjeZH4WMJspC6Anr+Tvj4NiUEHLcEWwMeLqwWSAEOG7GdYy6ZWiza9fBW7bcJiCW9ER2 KNoXUKQLf0Kvn8Oxgv6eFViNJFSxtoWOKicHrVU5awn/Nf1w51UpW55CjCg+2vvpCZ0V C8vc+Qb99m/a4k6xcoO6KVLjrtvMgdiAfA3GG2UrA9hUxI+R7MwvpfguGBuoiv/BXhT7 S6B2H0INauzlWiWrzKVWBzeIlmeOxPTNKA3FOjgqVQxeFdKJpzzn6LX4KaFxZ1bOUrbq rEkQ== 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=I77Z4g8yokv4VG82pYM0RXw1CCZQHU9fQ0hoIEmNIYI=; b=terqpJAHXoqKEgV+UEyU6fM+U6rA1K9O8MbUlzElEASgYVLu53wdqJ1ZQvRgin81Sz W6zKPg1oYigk3FqNgfSVuJEqplUGUNoxDFmJKrWAcSbwjRvZQZnkprAoCpaxDu47Mzyp Jis7DKshkdOnt0yUrNLViJPyIbgPsqLVUmYyrG891lfe+NWZCJFb3fmWYsL8ZpCbtIrF 014pm4jwIa9mGwxl2a+0WO4x6q9Ek+mk/K8iasKCMLG+CgFkUcjODz3MSFDn1yx9/8/L raRwnxVRPnNjWNMh32FmuXzcN4av4zDoEwmVpE9mb8VRNCwpdQU8wo7GGd/uXanj6Zvn Kz8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=t2BdkH4S; 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 p7si4934654ejy.206.2020.07.01.17.50.51; Wed, 01 Jul 2020 17:51:14 -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=t2BdkH4S; 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 S1728069AbgGBAsd (ORCPT + 99 others); Wed, 1 Jul 2020 20:48:33 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:23467 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726814AbgGBAsd (ORCPT ); Wed, 1 Jul 2020 20:48:33 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200702004829epoutp0161b145875d81d3c5c3626c18c1c56f63~dyQ8UE2Vi2118821188epoutp01L for ; Thu, 2 Jul 2020 00:48:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200702004829epoutp0161b145875d81d3c5c3626c18c1c56f63~dyQ8UE2Vi2118821188epoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593650909; bh=I77Z4g8yokv4VG82pYM0RXw1CCZQHU9fQ0hoIEmNIYI=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=t2BdkH4SUdFJGpl4O600JqiHfEHdDtHXGWc1oyyyv7vtoaw8Gk4eKspo6GGAwIdIM k3cAIecyOmgaeubi4+2vJJIJFBmCqoCMTwOvrnfq6mMsjWwJAbZ3SN9QpnB1/cTGkP 7wIjMAtG9rVgUXhkaPOCZo2ERdZNZodGctGjFmu8= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200702004829epcas1p103b066ef2ba4e6dbecf27cb2b7e61460~dyQ7p7pkJ1740417404epcas1p1X; Thu, 2 Jul 2020 00:48:29 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.152]) by epsnrtp2.localdomain (Postfix) with ESMTP id 49xzwp1xhJzMqYkZ; Thu, 2 Jul 2020 00:48:26 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id E5.3B.29173.ADE2DFE5; Thu, 2 Jul 2020 09:48:26 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20200702004825epcas1p33fdd93cfedaf14e3331e4b943ed7be67~dyQ3_rDbK2059920599epcas1p3d; Thu, 2 Jul 2020 00:48:25 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200702004825epsmtrp13dd5c1d03d0937c96bce740a77b5493b~dyQ39riMf2782827828epsmtrp1E; Thu, 2 Jul 2020 00:48:25 +0000 (GMT) X-AuditID: b6c32a37-9b7ff700000071f5-fc-5efd2edafb71 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id AF.D2.08382.8DE2DFE5; Thu, 2 Jul 2020 09:48:24 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200702004824epsmtip2b64ef5cd823d2a5cb8525b53f607b606~dyQ3tQXm50823308233epsmtip2k; Thu, 2 Jul 2020 00:48:24 +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: <136b430d-2097-7b2b-d7dd-b438deee8f5d@samsung.com> Date: Thu, 2 Jul 2020 09:59:40 +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-12-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNJsWRmVeSWpSXmKPExsWy7bCmvu4tvb9xBk0HeSzuz2tltHj36Smr xfwj51gtVn98zGhx5et7NovpezexWbTMWsRicbbpDbvF5V1z2Cw+9x5htOj8MovN4uIpV4vb jSvYLCatncpo0br3CLvFv2sbWSx+7prH4iDo8f5GK7vHzll32T0unfvD7LFpVSebx51re9g8 7ncfZ/LobX7H5tG3ZRWjx+dNcgGcUdk2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW 5koKeYm5qbZ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Eg21mIuKEwGn KlUGWgMAAA== X-CMS-MailID: 20200702004825epcas1p33fdd93cfedaf14e3331e4b943ed7be67 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Best Regards, Chanwoo Choi Samsung Electronics