Message ID | d8fc12550d6a7f1fb249d5e66d40295b953c10e5.1441972771.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBY4GZOXQKGQE6K77VSI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by patches.linaro.org (Postfix) with ESMTPS id 8F6DB215BF for <linaro@patches.linaro.org>; Fri, 11 Sep 2015 12:04:52 +0000 (UTC) Received: by wicmn1 with SMTP id mn1sf17733404wic.1 for <linaro@patches.linaro.org>; Fri, 11 Sep 2015 05:04:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=oeWqi26Y4EPd+38fYMzy+4XCu6p4RbsAOz/gfYq7qX4=; b=JZAUkfE9Pec29F3VZ/0XM2JSHtnIg5xTB3YLFHDg4RAgdxU9R1sicj6D/b0J8wWZXD sW/sKWJjlgFmNPmX+kLhv9Gnosuk1m/wKSgeiaAGe7Wj+KkocoJDGmN/WT3JiK5VcUe/ 7cwShXhOjTSQtdwVfrfuyfsfwINHzMiMeJ8YeqN5jk9av893bL4OQNeTHQc4d98IQdvv 69fxjOHpupe6OBB0MHK5ttgz9QDEuOYVuSGeDElFEDrUITyceuJMe7JXpXjxYvxS82QA PJWwwSpDnDDtjjYUAW1lQyOgTgFv0OLgyK9NwQQN2cJR77JgPNHVgeKmvTigObO73t7y HybA== X-Gm-Message-State: ALoCoQlG2F3YdVWxwYRlvS3f1qatqvP2zuCj5k0v3sMJjiEKKixQn/hHEt2T1cMlt0JxFCBaFoYc X-Received: by 10.112.139.137 with SMTP id qy9mr11034596lbb.17.1441973091813; Fri, 11 Sep 2015 05:04:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.193 with SMTP id 1ls321649law.30.gmail; Fri, 11 Sep 2015 05:04:51 -0700 (PDT) X-Received: by 10.152.23.199 with SMTP id o7mr41050735laf.22.1441973091630; Fri, 11 Sep 2015 05:04:51 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id dy8si25394lbb.55.2015.09.11.05.04.51 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Sep 2015 05:04:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lagj9 with SMTP id j9so47180687lag.2 for <patchwork-forward@linaro.org>; Fri, 11 Sep 2015 05:04:51 -0700 (PDT) X-Received: by 10.152.18.164 with SMTP id x4mr42194434lad.35.1441973091419; Fri, 11 Sep 2015 05:04:51 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1546288lbq; Fri, 11 Sep 2015 05:04:50 -0700 (PDT) X-Received: by 10.202.222.132 with SMTP id v126mr29926520oig.23.1441973090361; Fri, 11 Sep 2015 05:04:50 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g4si8861obr.94.2015.09.11.05.04.48; Fri, 11 Sep 2015 05:04:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753409AbbIKMEj (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Fri, 11 Sep 2015 08:04:39 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:36637 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752800AbbIKMEc (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 11 Sep 2015 08:04:32 -0400 Received: by padhk3 with SMTP id hk3so73579998pad.3 for <linux-kernel@vger.kernel.org>; Fri, 11 Sep 2015 05:04:32 -0700 (PDT) X-Received: by 10.68.220.226 with SMTP id pz2mr96969387pbc.115.1441973071961; Fri, 11 Sep 2015 05:04:31 -0700 (PDT) Received: from localhost ([122.171.186.190]) by smtp.gmail.com with ESMTPSA id tz1sm49715pbc.50.2015.09.11.05.04.30 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 11 Sep 2015 05:04:31 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: Rafael Wysocki <rjw@rjwysocki.net>, nm@ti.com, sboyd@codeaurora.org Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, rob.herring@linaro.org, lee.jones@linaro.org, Viresh Kumar <viresh.kumar@linaro.org>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Len Brown <len.brown@intel.com>, linux-kernel@vger.kernel.org (open list), Pavel Machek <pavel@ucw.cz> Subject: [PATCH 16/16] PM / OPP: don't print error message for deferred probing Date: Fri, 11 Sep 2015 17:32:12 +0530 Message-Id: <d8fc12550d6a7f1fb249d5e66d40295b953c10e5.1441972771.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: <cover.1441972771.git.viresh.kumar@linaro.org> References: <cover.1441972771.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1441972771.git.viresh.kumar@linaro.org> References: <cover.1441972771.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/base/power/opp/cpu.c b/drivers/base/power/opp/cpu.c index 9ac691341fb0..f259a994fd16 100644 --- a/drivers/base/power/opp/cpu.c +++ b/drivers/base/power/opp/cpu.c @@ -198,8 +198,9 @@ int dev_pm_opp_of_cpumask_add_table(cpumask_var_t cpumask) ret = dev_pm_opp_of_add_table(cpu_dev); if (ret) { - pr_err("%s: couldn't find opp table for cpu:%d, %d\n", - __func__, cpu, ret); + if (ret != -EPROBE_DEFER) + pr_err("%s: couldn't find opp table for cpu:%d, %d\n", + __func__, cpu, ret); /* Free all other OPPs */ dev_pm_opp_of_cpumask_remove_table(cpumask);
dev_pm_opp_of_add_table() can fail with a return value of -EPROBE_DEFER and in such a case we should skip printing the error message, as its not really an error. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/base/power/opp/cpu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)