Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3381868yba; Tue, 23 Apr 2019 02:50:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzq0MvDb7pucyC2fniKe1bZUjW84PtKE5Ae12NJTNvDWtJT6dWjNlAoSLkuTphFgVmGFjFo X-Received: by 2002:a17:902:9b92:: with SMTP id y18mr16961754plp.187.1556013036587; Tue, 23 Apr 2019 02:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556013036; cv=none; d=google.com; s=arc-20160816; b=d72m41Y9ICHfa/4P1mHdRY0ZCF6neWv+Lg7IChXnQz/gyGMivZgm+7nQBD0K0MGV8D /O3zcbqt/Pg5uVsCP8JKpcpEO/0asJ98uLnW8ptyUkFGYqBpqAtn5isWuMILq/Cpk8lr ioxdDabgUEC4OyEWz/BtM9mIrB7EP88DDl+dHDpVq81o8G2cU1YbtQOOp0zsmsays7tW WGhOdFs2hfcM5tOMOntnj4t1u3lLAVOkrRqen5goRXB+nBo+Wj9cCEEYl8158AvxJZBe KSA5v1/gYSplV6eC01R0vdfBq7NHxbaQJ7HHArYvm0Kbk1eyx6FvYq63/L2a0C/EIdfo X6Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=MR2Y+JML+LjDqMHfpLpki88WTrS+gWZXfgXaluaArag=; b=ZODcBkXc+IFGlweQ6DPICUYHerawyGh/rnIZgMl7PjH62AOlFoQk7RjVaarcmcrkaS Tr3mIu0zsvFFKvS4EyBGq0UOgFiwMWT1JHoVJ0IFNY6T0T/zZoh2HozMrEq9HV1pqJLv G11WoQPZ/KQXcJgRRgbHGcStfMVVuIW/T4y3bywoizPrWfxqds0AuuutkYahCu+BEQGK 4zMoGUwArHfJ5fM29atuGPiqQhyklxadEsmgzae+Wi2giaSyMhBO+EZrm9HWJOIqv6H0 1iJQs/iDkldxUoyrWu07Q6/pUxTEm8bv0yRFFkN5H06HFKaa79Bz4Kk4nMTsXUmxnMcr W8mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ecdrJXD8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cj5si9373797plb.76.2019.04.23.02.50.20; Tue, 23 Apr 2019 02:50:36 -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; dkim=pass header.i=@linaro.org header.s=google header.b=ecdrJXD8; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727258AbfDWJtV (ORCPT + 99 others); Tue, 23 Apr 2019 05:49:21 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45356 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726204AbfDWJtU (ORCPT ); Tue, 23 Apr 2019 05:49:20 -0400 Received: by mail-wr1-f68.google.com with SMTP id s15so19291346wra.12 for ; Tue, 23 Apr 2019 02:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=MR2Y+JML+LjDqMHfpLpki88WTrS+gWZXfgXaluaArag=; b=ecdrJXD8XizHVXn/kqPr5CRLLswnIboaS8xrfmV9XzZiAa3gKguF6YFWg2Gbz3sTbJ XMipnhcTfahaNexfSkdSYUY3/HoamAgw3gLrz+LSRtB7aNBgrCc10p2yvw7AmzhSekUH mqWgR8kcQWB9ZywWrwkgkzSXJMrEJODvTm8hY//Y3lUplQYFq6+Q0XS3NTlbbxpOmNpp YtYmVFsLQroWkWxIKtkTRyuVjIh9Ilw9PJ28eUIu1sMiOvm9HLY5F/bVYMxREcy5oofZ VO2LW3N2x7BHCDnbIXO4QaikaDOLPI9FppLBenWCoEVzAuXylU1a/EMuxY664j/Bf9Ta V91Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=MR2Y+JML+LjDqMHfpLpki88WTrS+gWZXfgXaluaArag=; b=Cm4x/mxBknCUA1/njn+6gu+Na/+1IEW4YEA4Yj0P8kQNr4HtooQJB1PxxalcuGhpET 63qhwMXOJnYyZB8YtfucgwFNvKN/UZuTQPMixs+BdXByPUeVu+8e1uNcd3FAHMrhO7OU thJV/qzVVHjbOure981bN+9moOMVjKHVNMg1GdxOTLPwwKW3fp0VWcLLDQEtRfEEVqYa CAaMtvMUU2DmkG/X55jeQn7sgw5Ox6o+af/xUmsJvgVQl1ZRLWVNN0r+cL1WGd0Pd7TG vTKbnytJlnZFRbu2Ivboyl4lWE0s7TVe9Tve0WP0ewMFhx6+YXfJqAPUKp0Xz0cACKw+ Y9FA== X-Gm-Message-State: APjAAAWf7vriQEyPVb4f9jx/9qLJFJPZdqwJ+92I9drjiCaqp5Taw+Py 3XAQL2NuoZc7dqw4J5PWK6pRMuVAEWE= X-Received: by 2002:a5d:5343:: with SMTP id t3mr2689051wrv.49.1556012958423; Tue, 23 Apr 2019 02:49:18 -0700 (PDT) Received: from [192.168.1.2] (200.red-83-34-200.dynamicip.rima-tde.net. [83.34.200.200]) by smtp.gmail.com with ESMTPSA id c6sm14661862wmb.21.2019.04.23.02.49.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 02:49:17 -0700 (PDT) Subject: Re: Applied "regulator: core: do not report EPROBE_DEFER as error but as debug" to the regulator tree To: Mark Brown Cc: khasim.mohammed@linaro.org, lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190418102607.88C6711279BC@debutante.sirena.org.uk> From: Jorge Ramirez Message-ID: <1f14ee5a-3ea3-9d15-d148-dadee20ddcca@linaro.org> Date: Tue, 23 Apr 2019 11:49:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190418102607.88C6711279BC@debutante.sirena.org.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/18/19 12:26, Mark Brown wrote: > The patch > > regulator: core: do not report EPROBE_DEFER as error but as debug > > has been applied to the regulator tree at > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.2 hi Mark, I cant find the commit in the tree. Can you check if it was merged? > > All being well this means that it will be integrated into the linux-next > tree (usually sometime in the next 24 hours) and sent to Linus during > the next merge window (or sooner if it is a bug fix), however if > problems are discovered then the patch may be dropped or reverted. > > You may get further e-mails resulting from automated or manual testing > and review of the tree, please engage with people reporting problems and > send followup patches addressing any issues that are reported if needed. > > If any updates are required or you are submitting further changes they > should be sent as incremental updates against current git, existing > patches will not be replaced. > > Please add any relevant lists and maintainers to the CCs when replying > to this mail. > > Thanks, > Mark > >>From 317f0111220921e87a168e4e6cec275df4e9be01 Mon Sep 17 00:00:00 2001 > From: Jorge Ramirez-Ortiz > Date: Wed, 17 Apr 2019 21:24:43 +0200 > Subject: [PATCH] regulator: core: do not report EPROBE_DEFER as error but as > debug > > Temporary failures to get a regulator (EPROBE_DEFER) should be logged > as debug information instead of errors. > > Signed-off-by: Jorge Ramirez-Ortiz > Signed-off-by: Mark Brown > --- > drivers/regulator/core.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c > index 5a9ebcf7fe7a..08ccabe07fe3 100644 > --- a/drivers/regulator/core.c > +++ b/drivers/regulator/core.c > @@ -4345,8 +4345,6 @@ int regulator_bulk_get(struct device *dev, int num_consumers, > consumers[i].supply); > if (IS_ERR(consumers[i].consumer)) { > ret = PTR_ERR(consumers[i].consumer); > - dev_err(dev, "Failed to get supply '%s': %d\n", > - consumers[i].supply, ret); > consumers[i].consumer = NULL; > goto err; > } > @@ -4355,6 +4353,13 @@ int regulator_bulk_get(struct device *dev, int num_consumers, > return 0; > > err: > + if (ret != -EPROBE_DEFER) > + dev_err(dev, "Failed to get supply '%s': %d\n", > + consumers[i].supply, ret); > + else > + dev_dbg(dev, "Failed to get supply '%s', deferring\n", > + consumers[i].supply); > + > while (--i >= 0) > regulator_put(consumers[i].consumer); > >