Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp909653pxu; Sun, 25 Oct 2020 21:48:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9Pg4N+PAq/Wv0sl6Vm5c+GOrY58sBm+isqLUbjWhwifQ3FEDEdm5M/IEuoaqx2YJRmvua X-Received: by 2002:a05:6402:19ae:: with SMTP id o14mr13657133edz.67.1603687696961; Sun, 25 Oct 2020 21:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603687696; cv=none; d=google.com; s=arc-20160816; b=ZM8MSNR5HAleA7KnbIR9NkcPkXTDXvvwtJVqmy4UBY/UbgpKwBVYyS6DEhuAEphxdG 1vqaFROwRX3dR5432BNirrw85n3N/gEQ6ir1G/Tew3f+WbsR4YuRQk8v3RoPlooqVU1y y2QGJM+I8cbbQJ/HcHjnCdFQot2kMshbg5QmUBlpQ7+/3JZHria6b3NmvyuV4/gSLaVp AROuhWn7NiBQWkXrcUGYiHJIm+1x57HBISeg+8JHcuBb6SusaV6KScMuC1+kHBYTt0hf hyfkI/Gc6ZMsBFwIiSQIyVhkFjJmuz+PxIZw4WGredwNj2AXIVYybT/++FyFcOC27QUR vdBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=hknHZ+cLjuYOEjh3nIdJbQqtqS+z8612JQBoz407ctU=; b=ABEmDR6KvoNjvLLFZhE7e0UXw/9UZTtC2AySoZ3876Q4V81605w2fMNn4UGsKRj0ac +883EfnVzbhaVD+r5bYmXTp796xBAFlVkNMGN374ZDlomwlp8qS92KslLJ/I4/kJQvnm sy9e2y0RkweP+oLPBK2ac8PUiCEgSybnlkyIh9+cN+c0EqhD7PyUNHOqovtIWEW7EAw5 zw4UIeIHSo4VV2JoagsfSLjRdHWxKLnOmLGDBbtY1/e1irRqb35Sdn7BAys4XfIg27DB pNi08KbjP6LQYp0yxWh+pC7O6dKeCocnWFQzEhHApQzEr3RtPI9LS2g2ccGICfVnaAoC xF7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CmzQJL3+; 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 j11si2927217edy.84.2020.10.25.21.47.55; Sun, 25 Oct 2020 21:48:16 -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=CmzQJL3+; 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 S1421664AbgJZDCt (ORCPT + 99 others); Sun, 25 Oct 2020 23:02:49 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:17478 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389589AbgJZDCs (ORCPT ); Sun, 25 Oct 2020 23:02:48 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20201026030245epoutp0185ab20a164bb5a54b12e9a3a2470c9a4~Ba7STGYCp1996719967epoutp01h for ; Mon, 26 Oct 2020 03:02:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20201026030245epoutp0185ab20a164bb5a54b12e9a3a2470c9a4~Ba7STGYCp1996719967epoutp01h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603681365; bh=hknHZ+cLjuYOEjh3nIdJbQqtqS+z8612JQBoz407ctU=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=CmzQJL3+wRGl/IKU2IG/Dhe5UZ3dVq5ni+0BQKi9af6rg/kY9JO6AsbfC6eF8u1cV +T9tNSNCmGOCnkqI0V7Z5FAuoTD9qwKbh7QTQJVynb157v09+n3raSC6NP0rkvX7xp kg2u7EyeLYrVwxqijw+TgwJEP93l29FTkUUY3jVc= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20201026030245epcas1p2a8d5d3e9eb326c4c895023ef2a850daf~Ba7RwZoyZ1357213572epcas1p2o; Mon, 26 Oct 2020 03:02:45 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.40.155]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4CKKQB5Y6bzMqYkW; Mon, 26 Oct 2020 03:02:42 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id B1.10.09543.25C369F5; Mon, 26 Oct 2020 12:02:42 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201026030241epcas1p219980df0fe3d9d3dc107b02b8a4f20cc~Ba7O5mfk41794217942epcas1p2i; Mon, 26 Oct 2020 03:02:41 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201026030241epsmtrp26d438f82cbb8d4266fe6b3e886368b65~Ba7O4ov1m3128731287epsmtrp20; Mon, 26 Oct 2020 03:02:41 +0000 (GMT) X-AuditID: b6c32a35-347ff70000002547-cd-5f963c523034 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id F1.A6.08745.15C369F5; Mon, 26 Oct 2020 12:02:41 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201026030241epsmtip10fa986889482099bb846bf373ea2a4d3~Ba7OllRRi1057310573epsmtip1Y; Mon, 26 Oct 2020 03:02:41 +0000 (GMT) Subject: Re: [PATCH v6 47/52] 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 , Viresh Kumar , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski Cc: 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: <6c4169da-6648-d93b-75a6-4a41a61b7ad9@samsung.com> Date: Mon, 26 Oct 2020 12:16:31 +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: <20201025221735.3062-48-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Te0xTVxzHc24vt4Wt210BOSNkK5eYKI5HxbIjAiPTkeswG5E4t7mt3tEb YJS26WM6kQx5VEBBmQLaMXk4HLKZTR7KMwxsoCUiTApRgahBjENsESSW8Brt3TL++5zf+f5+ v/P9nXMEPNFTwleQotSxGiWjoAgP/NqNzaFBeyNLZaGzP29EttlJN1RhuuWGfn0+AZB13k6g so56AuUYq3E0MPAHHzVN/oah/qxpPhpqLSfQXKEJoPwXRgL91fcBGj1WS6AfrpQA1P84DuV2 mPhoZeQqjhZaL+Co4UEPEeNF2+/k8ukW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E3f6fnRIXOCNrlNWSJiitPfmLc2sQtk BLdXHhSAqzn5X9u4i11pAwAA X-CMS-MailID: 20201026030241epcas1p219980df0fe3d9d3dc107b02b8a4f20cc 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: 20201025221928epcas1p48d77b56eaf6f05a8a5bf60dd468fdd41 References: <20201025221735.3062-1-digetx@gmail.com> <20201025221735.3062-48-digetx@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/26/20 7:17 AM, Dmitry Osipenko wrote: > Tegra EMC driver was turned into a regular kernel driver, meaning that it > 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. > Let's silence the deferred probe error. > > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra20-devfreq.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/drivers/devfreq/tegra20-devfreq.c b/drivers/devfreq/tegra20-devfreq.c > index ff82bac9ee4e..fd801534771d 100644 > --- a/drivers/devfreq/tegra20-devfreq.c > +++ b/drivers/devfreq/tegra20-devfreq.c > @@ -141,11 +141,9 @@ 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); > - return err; > - } > + if (IS_ERR(tegra->emc_clock)) > + return dev_err_probe(&pdev->dev, PTR_ERR(tegra->emc_clock), > + "failed to get emc clock\n"); > > tegra->regs = mc->regs; > > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics