From: Frieder Schrempf <frieder.schrempf@kontron.de>
To: Alexander Stein <alexander.stein@ew.tq-group.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Robin Gong <yibin.gong@nxp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] regulator: pca9450: Fix BUCK2 enable_mask
Date: Mon, 13 Mar 2023 14:46:08 +0100 [thread overview]
Message-ID: <b7e39919-a94f-3929-8814-ada801365dfe@kontron.de> (raw)
In-Reply-To: <20230310092857.3555187-1-alexander.stein@ew.tq-group.com>
On 10.03.23 10:28, Alexander Stein wrote:
> This fixes a copy & paste error.
I would mention here, that this doesn't contain any functional changes
as BUCK1_ENMODE_MASK is equal to BUCK2_ENMODE_MASK.
>
> Fixes: 0935ff5f1f0a ("regulator: pca9450: add pca9450 pmic driver")
> Originally-from: Robin Gong <yibin.gong@nxp.com>
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
> This diff is extracted from a downstream commit authored by Robin Gong.
> I'm not sure if adding Originally-from: is enough here or I do have to
> change From: as well.
I never heard of "Originally-from:". Does this tag exist? Is it
documented somewhere?
I think that your tooling (git format-patch) should add a From: tag
automatically if you correctly pick up a patch from someone else.
Other than these formal issues the change itself looks good to me.
>
> drivers/regulator/pca9450-regulator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/regulator/pca9450-regulator.c b/drivers/regulator/pca9450-regulator.c
> index c84d95b11e9c..544e741f7108 100644
> --- a/drivers/regulator/pca9450-regulator.c
> +++ b/drivers/regulator/pca9450-regulator.c
> @@ -265,7 +265,7 @@ static const struct pca9450_regulator_desc pca9450a_regulators[] = {
> .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0,
> .vsel_mask = BUCK2OUT_DVS0_MASK,
> .enable_reg = PCA9450_REG_BUCK2CTRL,
> - .enable_mask = BUCK1_ENMODE_MASK,
> + .enable_mask = BUCK2_ENMODE_MASK,
> .enable_val = BUCK_ENMODE_ONREQ_STBYREQ,
> .ramp_reg = PCA9450_REG_BUCK2CTRL,
> .ramp_mask = BUCK2_RAMP_MASK,
> @@ -509,7 +509,7 @@ static const struct pca9450_regulator_desc pca9450bc_regulators[] = {
> .vsel_reg = PCA9450_REG_BUCK2OUT_DVS0,
> .vsel_mask = BUCK2OUT_DVS0_MASK,
> .enable_reg = PCA9450_REG_BUCK2CTRL,
> - .enable_mask = BUCK1_ENMODE_MASK,
> + .enable_mask = BUCK2_ENMODE_MASK,
> .enable_val = BUCK_ENMODE_ONREQ_STBYREQ,
> .ramp_reg = PCA9450_REG_BUCK2CTRL,
> .ramp_mask = BUCK2_RAMP_MASK,
next prev parent reply other threads:[~2023-03-13 13:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 9:28 Alexander Stein
2023-03-13 13:46 ` Frieder Schrempf [this message]
2023-03-13 14:21 ` Alexander Stein
2023-03-13 14:38 ` Frieder Schrempf
2023-04-21 11:57 ` Alexander Stein
2023-04-21 12:02 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7e39919-a94f-3929-8814-ada801365dfe@kontron.de \
--to=frieder.schrempf@kontron.de \
--cc=alexander.stein@ew.tq-group.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=yibin.gong@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®