Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp768706pxb; Thu, 12 Nov 2020 16:24:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxouPdavtxTZEpueTUgolS21xysVnpPlTaFbw6qUDGrIrn/w5g7uNX1uiAFvr7NFM4iasf1 X-Received: by 2002:a17:906:14d1:: with SMTP id y17mr1914023ejc.15.1605227090114; Thu, 12 Nov 2020 16:24:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605227090; cv=none; d=google.com; s=arc-20160816; b=Uov0getG8UardaxCmuhdx5r1OaDHNJtpttHLDqQCEsK94Xs40oX6kXbdmb+Q/Og006 Wx4bizBzlMkukfcQyEqtmLWn8Oc78Da/ZpfxcFxtGttq1SNW2snpZ1bhgiMP9rl7bqph +Y8F+FsUjb4LYjMHJGGv6SIr5WbJaBp20v66Av5pkXzoa4vmMbjm5W8oB9LQllexFNOl BuNv0HqyHWO9/WFVtcvXtY+p6CODSwe7h9cAfviuAOw4whQbuC/Ky+yhNTumQLTvxpB/ vKJYdiIWREZUNhXfx4buox0easyQTmWCtAMO2ZGd5dtQ8K3gbvWQCI8eQuuuEWI3rcZP AN0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :subject:from:references:in-reply-to:message-id:date:dkim-signature; bh=nVf+RXinBNVZXkIAldKtZylOQzx+QflpihPuzbeITNs=; b=ldSbKmHfU/Lfse6npycFyQ8/3gDF64mUZMUCn674DPsx6ZIiB1ASRAhABnhQXw9B7i 3O8P+uvNqTSkNOZLRUmWPswzmCGzp8QvynL7BHsbLYVcGASrGBBxHYz0fMgi4Und4lGM tQ+a+7XcaO2DYIRNv8YYP3b8Kl/url5FQhVCIzVWlwdE5I4ktjKX1YMQS3I/26TKUdcb QZRrJXqEkha1C+zwnCb44gkC+fqCmHlDrd/h1KYhnAxAfOhqiJtZ+ZpSidO/Pv5qt8Zm eTef8vdxMb7fN2SBB2SdKveoMktIeCFVuN3QTnXkARZk7f/cCs21rR4TmUa4vRRZXfp/ zEfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=p9UzMwxt; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si5011560edq.552.2020.11.12.16.24.27; Thu, 12 Nov 2020 16:24:50 -0800 (PST) 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=@rere.qmqm.pl header.s=1 header.b=p9UzMwxt; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726219AbgKMAUb (ORCPT + 99 others); Thu, 12 Nov 2020 19:20:31 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:43287 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726110AbgKMAU3 (ORCPT ); Thu, 12 Nov 2020 19:20:29 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4CXJyh0FNGzKw; Fri, 13 Nov 2020 01:20:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1605226828; bh=DQRcuEJmpEK6o+KN0OiQBuiYhpkks7VZqxdk2Ek0AWU=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=p9UzMwxtzT4ZcN6g65oZQDvCBwJ3whwWsDb+81YPMHLMOsyFvw9cGeBZdZnMLfk8Q bbqTWjN14DnCiSHjazEBXRTiJyXJD4SS/3loJRrXRnUEM3jrGjNnaAeW1RqPZlL9AI LqlNumry4QbfrsDlrjCHy7YT3q1G2+9ytF140OCkO3QCWbK4GCkB4F0IHah51Xh+x9 fh+MtiDaCUjyIyghZlpF18BOaYgGzs+dYT9xw1nXxeiu5yEzw7SkIMClGCnb4ZGn0j KlpCkDVJdhPZzyV1848xUpxF37DM40c7UqavvpNWx/VdFhuk2eiI19K4sX3b1ugQbE ox72bn/FfmmuA== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at mail Date: Fri, 13 Nov 2020 01:20:27 +0100 Message-Id: In-Reply-To: References: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH RESEND 2/4] regulator: debug early supply resolving MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Liam Girdwood , Mark Brown Cc: Ahmad Fatoum , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Help debugging the case when set_machine_constraints() needs to be repeated. Signed-off-by: Michał Mirosław --- drivers/regulator/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index bcd64ba21fb9..ad36f03d7ee6 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -5296,6 +5296,8 @@ regulator_register(const struct regulator_desc *regulator_desc, /* FIXME: this currently triggers a chicken-and-egg problem * when creating -SUPPLY symlink in sysfs to a regulator * that is just being created */ + rdev_dbg(rdev, "will resolve supply early: %s\n", + rdev->supply_name); ret = regulator_resolve_supply(rdev); if (!ret) ret = set_machine_constraints(rdev); -- 2.20.1