Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1080970ybt; Wed, 1 Jul 2020 18:21:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzo6aWFZbilgrzdwobTF1eeL2PEPF2a7iHLBPpkyghPAMwm4CwkH1InqRhN/T+hysye5nBl X-Received: by 2002:a17:906:2714:: with SMTP id z20mr24595940ejc.469.1593652906316; Wed, 01 Jul 2020 18:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593652906; cv=none; d=google.com; s=arc-20160816; b=OpbtGXT37GOXAO5XfUYIsKR2GIeqLXy1PkeDru/+I6N9/v5W9eTcHIGu+XWtn9hm2x 5Dqx3gh/TKMJm/kU7iaMkwBAc1a9wM7HKVePppW7GjLUOqLwPkBLNy0Y+TqBbEdz+HBS GxWZMnHn9uAtImdutEl/vnnxtIAGqryJw0Wbi68usQiwCu80kL8TBScd1czAS2XG+3Wf LPqpdAF/nlSfxLZ8l8lWQw9om7r1Mv6RLMMdk2Yy3ehtDD4EyrnPZivd8w2xv3pSwuyY VkYj0KXZncT4/x+pQCP0RpoSVfb61KUZ8JnRVreP/VFHJmcQ8UbZvqOM62F4CiKfVacz nmuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=dYCeMOPmLDd6YkOtzFpnQl9uCIfo9ocTM9gPN7zgGLs=; b=UF8sF67GbtyqEsdpRdq+zAQih9HG9Yfr2rUgtDMo0zA0V0nZg3oHFGIvTjkKQKlliP 6dxgnx8P5ikj+kdcBC1YOGnO9Ob1AIDMld01uf+Ii5kQTyoo7xkzYgEZI5VS2rbEwGyn Wak4+fb17662tg8qOFWDf+TohvL7kP/5KhXs7WyXI3dOvrLm+V6AZrrci6fU3qDmlG7Y 1RqiHPPDCZ/SF0LGxtMyZj2fphh2kkAc/veOT1GpM19vrROZCTj8jZXUS2yCLkSmRffM xbX8XUsTxzMt5Sb8HN87SGyrqCww+dCzHPe7kY/yFUgFoSqgchY2JVRCLtTlwBQx/NPy K6NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=d9j4CswU; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rv26si4999644ejb.2.2020.07.01.18.21.23; Wed, 01 Jul 2020 18:21:46 -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=@gmail.com header.s=20161025 header.b=d9j4CswU; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727986AbgGBBU7 (ORCPT + 99 others); Wed, 1 Jul 2020 21:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727805AbgGBBU7 (ORCPT ); Wed, 1 Jul 2020 21:20:59 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAB03C08C5C1; Wed, 1 Jul 2020 18:20:58 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id t25so24927495lji.12; Wed, 01 Jul 2020 18:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dYCeMOPmLDd6YkOtzFpnQl9uCIfo9ocTM9gPN7zgGLs=; b=d9j4CswU2NFZCBq45rswJjWthlpogrZnyxU2Y3/qFx3SzQ/Yg010yg+KHPckVLMK7E sPM8Vl3sG/AcQaGYeiyAu0/y2NWDRFpN1cCGWZfSvqzvHm5OiyAxAO1Dt97pMU2E0dmk iS7KuYi16IoF64egljBq4I2PpWLZDdd95183IIuQ7d7bgik4N+IndnkWEQhQKukAgMZA s+JpJag5nHTBtAfKONT0BOIODyFke/y2jPMJiBL+CegXb4WhTK5iNesdPuPjBHoOitij 010J4brz2P8aTqBd6+yMM3QatHxh0kZo1oOmAU8jRZ0M8hgVNeF73mXnCW8JE/+4P82m R9qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dYCeMOPmLDd6YkOtzFpnQl9uCIfo9ocTM9gPN7zgGLs=; b=YC6fEuv8hQgsxL5mbKztMb2innT7OnhnNF4HqcD5xTW+u9yly7Cmlf+uSa3mzyybgK m8pu3VQn1Cxdl/Q5mbR97v226SLQHsfYT8KXDQGnj0HjrJ1wfj44AonMdt3eIxxckHJq C68JCzlAgSeflTxVijmfeH3+/tbiw8Lm3LFXmaD1a6XLeI4jalGzCwh9/KPErjwyFHJT LJCv2769IMQJ3FAKzte2VyXp9eJn6EqjzYB77EamhkNrgSmbssBHY9nvWWC2dr+mqScF szRdu1EqSen8Qo3oNxqlvCl+2TDu/dt04QICs04jCVWKrb/8Q6N8EZ2VtRHJncVTLtaq FJLQ== X-Gm-Message-State: AOAM532Kzwo/s220/HRqHhhwt1ddR/YYfgy02sHtWfRqJJxT2CCaE3eK BQAoVn7QRYCFqgVxJDpj+5ZRtJomzjw= X-Received: by 2002:a2e:9818:: with SMTP id a24mr13554159ljj.280.1593652857102; Wed, 01 Jul 2020 18:20:57 -0700 (PDT) Received: from [192.168.2.145] (79-139-237-54.dynamic.spd-mgts.ru. [79.139.237.54]) by smtp.googlemail.com with ESMTPSA id d18sm2380862lja.116.2020.07.01.18.20.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Jul 2020 18:20:56 -0700 (PDT) Subject: Re: [PATCH v4 11/37] PM / devfreq: tegra30: Silence deferred probe error To: Chanwoo Choi , 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 References: <20200609131404.17523-1-digetx@gmail.com> <20200609131404.17523-12-digetx@gmail.com> <136b430d-2097-7b2b-d7dd-b438deee8f5d@samsung.com> From: Dmitry Osipenko Message-ID: Date: Thu, 2 Jul 2020 04:20:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <136b430d-2097-7b2b-d7dd-b438deee8f5d@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 :)