Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp919790pxu; Sun, 25 Oct 2020 22:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0VdkT3jVAtUIPRq/AZYtos+onT/2e/IvqcTb1parCcU9UYdulc8dueMr0OWzYmQBxRcY8 X-Received: by 2002:aa7:da13:: with SMTP id r19mr4643414eds.20.1603689028049; Sun, 25 Oct 2020 22:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603689028; cv=none; d=google.com; s=arc-20160816; b=STmQoZJnuFeifVOvD+JF0U3cya0NY6VDQ73qcgOo8hIG4mOXB2HPYIh5WYUuS2pC16 TlHPQI4mId1AZ4TnYhcElawEIyXO5SdDj5Zl/wyhvu5UcsEdRISo68TMP9UVcXVUqR3C rAMuMKc37cwJKs0qgC9MawWEyqzwWurEjuwcxhqDAMaTVqWs7K8LVP9WbYfLL/9yJRk0 bXM19PU8CmRwLhLe8l2JUuLm+gA4EAjP/LTjW3BTEcUUNrHgPmWq+/fgJJHz6VbO4mo5 FJRHbLJKXlnuj4AiBNgu3W3XXnBjOcvizHnoK5sEb4BkzojPrGJtG8fH93rOqhAootXn YvpA== 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=y609irCBYybY+9S/rFRyWytQWA30gaNleBpJh3UjY/s=; b=cbl1tU6UI/LaA6aLxuV89K9fbKwqj9xUHarDMz+z1S4NJqURv5UISFMpJ7Cfv5loZL wo417DD+YQH8g36ym/7KYt80m9kUiS3+E9JnW8L7YGmOlPuE906bqyEfz9WaMzp9PWJJ +gsa88Cv5Rpp/6RWgZqmtDWPKTLSvQvd9ftZSstcgYLUVmDVdIE0ZCfWjudgKB9xXxGm 8O6u5XgM9tZ6FXPIbOhW4PAyHOLvJjc/kfltcC2uHMkvVY8v9Pu6xSM2X0hjRXGwtenw 71Yv6rSx86jzlMlQfMf6IjDlT0o8i4i1K2nm8clidEa0uWI/7e4Xm0blQXujrDLlQp4F FhFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="B+j+f/mT"; 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 h17si6628569ejc.171.2020.10.25.22.10.05; Sun, 25 Oct 2020 22:10:28 -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="B+j+f/mT"; 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 S1421688AbgJZDEE (ORCPT + 99 others); Sun, 25 Oct 2020 23:04:04 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:49860 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1421683AbgJZDED (ORCPT ); Sun, 25 Oct 2020 23:04:03 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20201026030401epoutp04f5679327bb12563ab8536cd63ca4e557~Ba8ZJXIg41436614366epoutp04a for ; Mon, 26 Oct 2020 03:04:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20201026030401epoutp04f5679327bb12563ab8536cd63ca4e557~Ba8ZJXIg41436614366epoutp04a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1603681441; bh=y609irCBYybY+9S/rFRyWytQWA30gaNleBpJh3UjY/s=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=B+j+f/mTPpYWk80KMTVQHIzPeAl16vsiFp2QZPyZOtPv+nCVoM3rKsTmnOYcoNSpc 4ARUG9IABdIrsakdk5bgb7Nwk2kPRSS07tpi+Vk1+OBQmwUviL5HtnMhAt3cTEeVu1 kBFUtjEORuyALk/dQy6gPB6kymy0+SN1TmDWIx9g= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20201026030400epcas1p4a0edb4057a394c5039a6e82ca71b9c9f~Ba8YeFwP80689906899epcas1p4I; Mon, 26 Oct 2020 03:04:00 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.155]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4CKKRb6P24zMqYlp; Mon, 26 Oct 2020 03:03:55 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 42.54.10463.B9C369F5; Mon, 26 Oct 2020 12:03:55 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201026030355epcas1p19fc746c6b362de310863b725c7a1583b~Ba8TRuN9H1859618596epcas1p1f; Mon, 26 Oct 2020 03:03:55 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201026030355epsmtrp253dd774871f3ce099a89186dd3876bcc~Ba8TQs7X-3146731467epsmtrp22; Mon, 26 Oct 2020 03:03:55 +0000 (GMT) X-AuditID: b6c32a38-efbff700000028df-0d-5f963c9b2ab1 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id EF.B6.08745.B9C369F5; Mon, 26 Oct 2020 12:03:55 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201026030355epsmtip170465f0d872a33a00bf7309ed66a01dc~Ba8S_Ixc51238112381epsmtip1e; Mon, 26 Oct 2020 03:03:55 +0000 (GMT) Subject: Re: [PATCH v6 50/52] 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 , 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: <0bbf89ed-c8ac-86a8-8ed4-b5a887c82656@samsung.com> Date: Mon, 26 Oct 2020 12:17:44 +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-51-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01TbUxTVxjO6cdtQequgOsZcYiX+EMWPiq0OzhgKmoqbguJYQyTURt60xJK W3vBjKnRKUqhfqJWaUEcRkE2h5SOYS2gDGE1KahsDhw4UDAEbetaiajI1vZixr/nfd/nOc95 zgeXGerEIrj5qiJSq5IqCSyY1frrqthYU4pBkuCYjkcuzwQb1Xb3sdEP/zwG6PdpN4bOtJsx VGqsY6H+/qsc9PPEjwzk2P+Mgwas1RjyHukGqPyFEUN3b29Ef33XgKHKK6cBcjzZgg62d3PQ 3P1mFnplPcdCLaM92NpwsXvwIEd8zTjCEd/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D/0ORlD1QyNopezE2W WVGrxFKckWioxVxUnAgA7YsTrGsDAAA= X-CMS-MailID: 20201026030355epcas1p19fc746c6b362de310863b725c7a1583b 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: 20201025222140epcas1p28ff3c4dc35d4b524185fe46c98617d8d References: <20201025221735.3062-1-digetx@gmail.com> <20201025221735.3062-51-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/tegra30-devfreq.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c > index f5e74c2ede85..3f732ab53573 100644 > --- a/drivers/devfreq/tegra30-devfreq.c > +++ b/drivers/devfreq/tegra30-devfreq.c > @@ -801,10 +801,9 @@ 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); > - } > + if (IS_ERR(tegra->emc_clock)) > + return dev_err_probe(&pdev->dev, PTR_ERR(tegra->emc_clock), > + "Failed to get emc clock\n"); > > err = platform_get_irq(pdev, 0); > if (err < 0) > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics