Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp766084pxb; Thu, 12 Nov 2020 16:19:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlg1LMMHsmVUq14eiEiJHds94wJE4o9Y7zGFYid1C5CekTp37oNowFIXfnxsDWEuPqRLvZ X-Received: by 2002:a17:906:c288:: with SMTP id r8mr1835927ejz.35.1605226772861; Thu, 12 Nov 2020 16:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605226772; cv=none; d=google.com; s=arc-20160816; b=v0hj+X+GghD96aHZIEpvVHEUc7ES5muj6zX7TmZ/zcT5MIulOBb/H0XXk+r4m8hMBQ fJfSQaMj5vPq3WWPl4DkacdbKAvdZTGFw1RJ8NnyXL+6bdn6I7j9yUeJvx3dkGBidHQk fr70vMeJ48ZmltmUxyNUb/sVHu6A5s6RTP4iTLNIMPvaUXX5W46HJs6njFJ+aBNqwSKB 1sBCfJF3dlhR+f4DepCxPPOy3Ap8mjsg/5xr9aGB5w2M4fE5yNafc0Jk1gP5PsBUef0f bqZKZlI2c6fhJE9lpy/fzvcl/y3hi1MINotWLHfQEJLsVRm2MQ5IyGWCL1rbVi7mILQM fhLQ== 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=aq1rYVb6k8+0NXSf6nIf73uLC8dHHl+5N613OBbSnM1IBd5mPRUp7stiFiSoqDQsxx sp+4NfAWExTId7ealLnZECIUqn+0EUuSAcw0rC0ydL4Ybrnuo+RwbFGovfZknweYqjSk uCJGy8ePx1Xcp7t85LyKuGDdTgULg8UZwBrL9eSqmCaEq62HbQlxNzGFhNCyQXZNBKnd 3Y5lpQBfefRBakOGGRvWbJt0IlMHE4vusjtZTFOL5frYZfmCPq/wPPQsfuZDFL7Uz5mf 2vOROMXhtuAU4rdZRaZdTw3Rivm4pBrvGGx2LV6EunSKeS//7AS69bRiXfEnBY0f5HSK aSNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=YYxtC1km; 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 w6si5117101edj.604.2020.11.12.16.19.10; Thu, 12 Nov 2020 16:19:32 -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=YYxtC1km; 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 S1726157AbgKMAQ5 (ORCPT + 99 others); Thu, 12 Nov 2020 19:16:57 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:9500 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725894AbgKMAQw (ORCPT ); Thu, 12 Nov 2020 19:16:52 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4CXJtT6DgnzKw; Fri, 13 Nov 2020 01:16:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1605226609; bh=DQRcuEJmpEK6o+KN0OiQBuiYhpkks7VZqxdk2Ek0AWU=; h=Date:In-Reply-To:References:From:Subject:To:Cc:From; b=YYxtC1kmdWVZ3xr5cD1zRoELvC7rZkROyLKFuOfxAbs0W91qdjIHpo00Ai1zf+BmQ xZoa534YZk/Tz7r6P6f+aMw0z+/9M4f1RCiLq+1LWjtWHVcVhkJTS271XgJApGsEnJ AgfHbkoUgNcvpdv2o3aLupeQOIYhzFx0eREhngkGHon8Ezv4UVmbT9JIIjx2Bd0qSk JB2LY82js6XmXIfhtQvQwCwNyvAYDreM/+h+WTOntUpOIl1BPdf+1m4yixrUapd4hD JOyo1W2zStLi+Ytq+vsTLr5ICcsPkZtjiEh5ufnLLpI3ljF6VCgrDvbkode5fHytJ9 qK1lSFIiaLw5A== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at mail Date: Fri, 13 Nov 2020 01:16:49 +0100 Message-Id: In-Reply-To: References: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH 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-arm-kernel@vger.kernel.org, linux-kernel@vger.kernel.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