From: "Mårten Lindahl" <martenli@axis.com>
To: Axel Lin <axel.lin@ingics.com>, Mark Brown <broonie@kernel.org>
Cc: "Mårten Lindahl" <marten.lindahl@axis.com>,
"Liam Girdwood" <lgirdwood@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: tps6287x: Fix missing .n_voltages setting
Date: Wed, 17 May 2023 12:51:14 +0200 [thread overview]
Message-ID: <7dbcd394-8cba-10be-5041-77d74010e7a6@axis.com> (raw)
In-Reply-To: <20230516082333.466429-1-axel.lin@ingics.com>
Reviewed-by: Mårten Lindahl <marten.lindahl@axis.com>
On 5/16/23 10:23, Axel Lin wrote:
> Otherwise, regulator_list_voltage() will return -EINVAL.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/regulator/tps6287x-regulator.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/regulator/tps6287x-regulator.c b/drivers/regulator/tps6287x-regulator.c
> index d7fc82175493..870e63ce3ff2 100644
> --- a/drivers/regulator/tps6287x-regulator.c
> +++ b/drivers/regulator/tps6287x-regulator.c
> @@ -119,6 +119,7 @@ static struct regulator_desc tps6287x_reg = {
> .ramp_mask = TPS6287X_CTRL1_VRAMP,
> .ramp_delay_table = tps6287x_ramp_table,
> .n_ramp_values = ARRAY_SIZE(tps6287x_ramp_table),
> + .n_voltages = 256,
> .linear_ranges = tps6287x_voltage_ranges,
> .n_linear_ranges = ARRAY_SIZE(tps6287x_voltage_ranges),
> .linear_range_selectors = tps6287x_voltage_range_sel,
next prev parent reply other threads:[~2023-05-17 10:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 8:23 Axel Lin
2023-05-17 10:51 ` Mårten Lindahl [this message]
2023-05-18 17:33 ` 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=7dbcd394-8cba-10be-5041-77d74010e7a6@axis.com \
--to=martenli@axis.com \
--cc=axel.lin@ingics.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marten.lindahl@axis.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®