Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp230818pxb; Wed, 4 Nov 2020 20:57:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJwS4lXmC1BBb8gqwO6kwujWICKVayW+otUtIFKa1p3AVInBt9aHjiEyrgITGbpI9vkMeDf/ X-Received: by 2002:a17:906:383:: with SMTP id b3mr528466eja.351.1604552238825; Wed, 04 Nov 2020 20:57:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604552238; cv=none; d=google.com; s=arc-20160816; b=lPQ4cM+Lb9rcmjFKwVEbr8WRszpo4QtIcIkxne/F8uUvCQ7eVGsr9qMSJBorCfkh2K EOb/RA3De5gE2Hg8wCJYvqEuaT/Z1zAEhw4mrKmF4nT6IMk5ALo5uiz850TAgXOK0QBa OWjo1mqQFDpQN6Uks3baGfmtqR79sCw5DGCKq0jRWs0S968eQHkcxWb2N++hDSwuhyiO 3sIqWuWp0wDXx71u5hSQE9tEDm8tt98GNR4bUKpYbwhbkHVkBudopLvU1rprNDrxaD8n UbrORjbHBIfEPjagIbCZ9S/fZfL/V/jf0E0VqDI+b52VF/76SuQ1RUu8mYX1W6Km903J pgcQ== 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:message-id:date:dkim-signature; bh=1OhlmIH9QrTRD8Pq5vgwgPHSD8CQrMEzJoMH/8m+if4=; b=g/U2b3QP5nt8YrmmHBai8mxGdhN+ppbsipwLEqmfpfzYWfbUdt51ABw0+266mCnulX aylQjtevM/sMQYqusOm+LDbW9E3CrBCvq4D1rorng5c5SHcE89ereLnW08do/zXq5bD2 DxTuuIOTx0JgtmMKzlO0nYeTualkBVodQhkSbrdvv6Zr/K0SEQMJ8qnL8b1Lr7jgS1Gq 4cu9DSJcbqFeIcjqCBCJkH7uSAYz4kyTbAcRFzOt9HDsN5cl9KmxKmigF1UTqAykXaK9 1JbPJQ6pxtFsPw/B8FWbQ5VdBFO7vnCKYId9YqXHq02Cmil/7z24uv5DMZfYoY+801hp /eoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=fCjP2YRy; 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 l31si312349edl.524.2020.11.04.20.56.55; Wed, 04 Nov 2020 20:57:18 -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=fCjP2YRy; 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 S1731554AbgKECyM (ORCPT + 99 others); Wed, 4 Nov 2020 21:54:12 -0500 Received: from rere.qmqm.pl ([91.227.64.183]:21902 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726185AbgKECyM (ORCPT ); Wed, 4 Nov 2020 21:54:12 -0500 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 4CRSlg554vz8p; Thu, 5 Nov 2020 03:54:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1604544850; bh=Iju+iBATdmDfQ4OsSyAkY4bpLERQ5SJXyrehln6ZXhQ=; h=Date:From:Subject:To:Cc:From; b=fCjP2YRyVLi9HR9jvBZEGU69UoTDXSiAgzwssbTSnUbw4r7VdErU1NjD9MR9zGbOQ 0U44JjSICzkhByj3UHy1c3s52Rawdel+4+oHQDZ5TRiMwSxyCRCDa+/MPlGk9Go+m+ n+jmvPL8C7tJsxDamyo0IL3CasVR5PxRxNnvrnM6PGpYES5obL1sl6QcNOuPfA33Bm dGdvLNheiRNpNpzw69E6WeDGWs0DiRJ0kxzo8lXYQttbFZw4reVS7zh1pt1WMeRTOi 1DQsZJUnWsHokOFj6FHz1Nb6JBqhHM7j2ZObLm7yN6C43lqU3uds4mXVnUBDJ2VdUR 6vYdt7KuJakBQ== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at mail Date: Thu, 05 Nov 2020 03:54:07 +0100 Message-Id: <7ede83e8d78414d8618e1044fd8fd11e8ed7a09f.1604544767.git.mirq-linux@rere.qmqm.pl> From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH] regulator: debug early supply resolving MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Ahmad Fatoum Cc: Corentin Labbe , lgirdwood@gmail.com, mripard@kernel.org, linux-kernel@vger.kernel.org, wens@csie.org, broonie@kernel.org, linux-arm-kernel@lists.infradead.org, , Pengutronix Kernel Team 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 402a72a70eb1..c84e3b0b63de 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -5271,6 +5271,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