Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2585861imm; Fri, 20 Jul 2018 01:00:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfr2UQy/Fi/FaO6kLeWt9vglLUdWzMFNVTzNot5NrKgZPNUUMV0dVS9We1C4Nz34bWo+xyC X-Received: by 2002:a65:6094:: with SMTP id t20-v6mr1091691pgu.264.1532073639290; Fri, 20 Jul 2018 01:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532073639; cv=none; d=google.com; s=arc-20160816; b=iHmteuDipAikvT4hY0cH7KKga3wQl0rrxWqDmGSsp8WwDtowbJimdsNnThhR+uiGOu Njy012VuzlD4TDLjYMsV161qHAqg/aox3uspPGdPN2RqIlWqJqBeGE2VI7AIHYIJojMj xQbkn6AStNwVw06BSXyfAy45vrC2+8UY9AADeNqGuHSdiGcmCa927ko8IM3lXyMrvtO4 02tjeOizfmgmbY1DU3I6/5kMQSSih5/2eemQjKP9+ZesLNervcYD0l1m5UNDIhzpKwMc fj92FSQfXcH8rKC0hykFnT+HrqNkCNXszpOCTLUMKkaA7k2U/s3MFLVTtwZpKfylT8wu JWtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=bWj6DmyXZxX/x8SsCwve1cR2wd99GuClUBddOyZlcJE=; b=Na/5/pcg/4n+k4NtEncZ36W6mJvOlzrVuCOKXkrIDzz7CBlwhHs/fVpoRpn6rSZ5Ya rUEZeiKVHs3uWWnCQvNiXgWdpHdj0xd+04yO76tpXXDfnRdc2OuzYnc0q50NPUP8aAXO s1mDjI7cOi1v/IAGcabsenutHdrDHY161iL+r+faJgBtfcLQVCSj88Sk0YUGWbtPhlfs n9jiLLX8pfY+L4LeDqAV2oUJxpZ1MWgLG6qJJEI+aX2Vi/4rllf1BVSWZetyTy5pdUeI M965n7oCBXH9fECcylYl/naj1giPo16MJxTOL3/vPakO8p4QByHPy2TbJ2e5LrQAay3k RQJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l81-v6si1407267pfa.368.2018.07.20.01.00.24; Fri, 20 Jul 2018 01:00:39 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727664AbeGTIqx (ORCPT + 99 others); Fri, 20 Jul 2018 04:46:53 -0400 Received: from mout.perfora.net ([74.208.4.196]:45655 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727133AbeGTIqw (ORCPT ); Fri, 20 Jul 2018 04:46:52 -0400 Received: from localhost.localdomain.ziswiler.net ([89.217.215.226]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPA (Nemesis) id 0LvSth-1g73xt3YpP-010gY9; Fri, 20 Jul 2018 09:54:31 +0200 From: Marcel Ziswiler To: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Stephen Boyd , Prashant Gaikwad , Peter De Schrijver , Jonathan Hunter , Michael Turquette , linux-clk@vger.kernel.org Subject: [PATCH] clk: tegra: probe deferral error reporting Date: Fri, 20 Jul 2018 09:54:22 +0200 Message-Id: <20180720075422.26563-1-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 X-Provags-ID: V03:K1:jSx3S0+Uw0BKBltfDbK5KOWw2TH5eiiBRFwjtcOQwEofY98Acqh 0m0Um3CdtedhxpxECOG1fScHNIJyIIjeI+E9j9KlNmBYu+HEQMzeFx11wb0716LZprsW6gd E0ZG94cwX+2ooKqo3cWkpjEcJaaywTfOUb8FuB1KGshooqWu6GVx0IXEjMTag0BLzcZO1bf y7aSxqb1LivFeiJz/NHZQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:QtTHvtuSO/8=:dDxUUM7AGw2JZztqPCG1r1 iSTI/x+dDvNWzqI3sz3k1RBjFmy+VBL41MYXdGFbRfO7Z2QHczt29PZ30872vVUCAihKY3hQV +tpJFIO2ygh5KDBZlr18aS0t4vjTRkl8dpat4kyYH++CqonPmhZYSPzJKoqynmt8P8Fr6sLh/ CiBuSkBAdHxK/cntmEngf8ijt4flD8kblVPizUgar/JJhCHpyznCU58X+KBjm5y9z+HTcBY96 AYYRv/hbGlf98Rcpbr7REZm0zHJiu+rdxYXsGE+LtWHq7hNJm2gCA/gXefKcCCxfpl+yIww5A HxZtS7fsczwwGcX7N2hwRzmwamZBdjZD0lniTfJbYHYHBaXh8CmjiZdHu/LTjEapQIWU3o3bm l3ds6tSmxT69nkiBLxllm/fSrhk24MOMFpPWfTVpwkWTRuYzpe1uIJMRaFg1+xjOOuNY8Nnd1 e4ef8xP1WIBfmsdIkWvCPN9lsPDTDYQt7ytRFtPmiabno5Pq2xWw8A95Ve/lGSc/8aKpUgLTY FFjSugRQtfugp+AuWKUG2Q/3qcyLPnksPURDXtelKLyv1l7p3ykI8tf8bER5ZQIZKNzdYhG4r DGSmU5k/HkO+k6e+j/ZrYl0YPc4E8geCr6gXvBpfj0q9ds2fuA0scgJeM7NZnITV3yH4Ta7ek OCWxCFJJc3aO8Fy7+l5HhCfRUZBvM91dWgrbaixC0gVtGSIGSvWC2KwMYenP/ZjfiAFo= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler Actually report the error code from devm_regulator_get() which may as well just be a probe deferral. Signed-off-by: Marcel Ziswiler --- drivers/clk/tegra/clk-dfll.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clk/tegra/clk-dfll.c b/drivers/clk/tegra/clk-dfll.c index 48ee43734e05..b2123084e175 100644 --- a/drivers/clk/tegra/clk-dfll.c +++ b/drivers/clk/tegra/clk-dfll.c @@ -1609,8 +1609,9 @@ int tegra_dfll_register(struct platform_device *pdev, td->vdd_reg = devm_regulator_get(td->dev, "vdd-cpu"); if (IS_ERR(td->vdd_reg)) { - dev_err(td->dev, "couldn't get vdd_cpu regulator\n"); - return PTR_ERR(td->vdd_reg); + ret = PTR_ERR(td->vdd_reg); + dev_err(td->dev, "couldn't get vdd_cpu regulator: %d\n", ret); + return ret; } td->dvco_rst = devm_reset_control_get(td->dev, "dvco"); -- 2.14.4