* [PATCH] regulator: rtq2134: Fix missing active_discharge_on setting
@ 2022-04-04 2:25 Axel Lin
2022-04-05 9:32 ` Mark Brown
2022-04-06 1:47 ` cy_huang(黃啟原)
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2022-04-04 2:25 UTC (permalink / raw)
To: Mark Brown; +Cc: Liam Girdwood, ChiYuan Huang, linux-kernel, Axel Lin
The active_discharge_on setting was missed, so output discharge resistor
is always disabled. Fix it.
Fixes: 0555d41497de ("regulator: rtq2134: Add support for Richtek RTQ2134 SubPMIC")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/rtq2134-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/rtq2134-regulator.c b/drivers/regulator/rtq2134-regulator.c
index f21e3f8b21f2..8e13dea354a2 100644
--- a/drivers/regulator/rtq2134-regulator.c
+++ b/drivers/regulator/rtq2134-regulator.c
@@ -285,6 +285,7 @@ static const unsigned int rtq2134_buck_ramp_delay_table[] = {
.enable_mask = RTQ2134_VOUTEN_MASK, \
.active_discharge_reg = RTQ2134_REG_BUCK##_id##_CFG0, \
.active_discharge_mask = RTQ2134_ACTDISCHG_MASK, \
+ .active_discharge_on = RTQ2134_ACTDISCHG_MASK, \
.ramp_reg = RTQ2134_REG_BUCK##_id##_RSPCFG, \
.ramp_mask = RTQ2134_RSPUP_MASK, \
.ramp_delay_table = rtq2134_buck_ramp_delay_table, \
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: rtq2134: Fix missing active_discharge_on setting
2022-04-04 2:25 [PATCH] regulator: rtq2134: Fix missing active_discharge_on setting Axel Lin
@ 2022-04-05 9:32 ` Mark Brown
2022-04-06 1:47 ` cy_huang(黃啟原)
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-04-05 9:32 UTC (permalink / raw)
To: axel.lin; +Cc: cy_huang, linux-kernel, lgirdwood
On Mon, 4 Apr 2022 10:25:14 +0800, Axel Lin wrote:
> The active_discharge_on setting was missed, so output discharge resistor
> is always disabled. Fix it.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/1] regulator: rtq2134: Fix missing active_discharge_on setting
commit: 17049bf9de55a42ee96fd34520aff8a484677675
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] regulator: rtq2134: Fix missing active_discharge_on setting
2022-04-04 2:25 [PATCH] regulator: rtq2134: Fix missing active_discharge_on setting Axel Lin
2022-04-05 9:32 ` Mark Brown
@ 2022-04-06 1:47 ` cy_huang(黃啟原)
1 sibling, 0 replies; 3+ messages in thread
From: cy_huang(黃啟原) @ 2022-04-06 1:47 UTC (permalink / raw)
To: axel.lin@ingics.com, broonie@kernel.org
Cc: lgirdwood@gmail.com, linux-kernel@vger.kernel.org
於 一,2022-04-04 於 10:25 +0800,Axel Lin 提到:
> The active_discharge_on setting was missed, so output discharge resistor
> is always disabled. Fix it.
>
> Fixes: 0555d41497de ("regulator: rtq2134: Add support for Richtek RTQ2134
> SubPMIC")
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/regulator/rtq2134-regulator.c | 1 +
> 1 file changed, 1 insertion(+)
>
Hi, Axel:
Thanks for the fix.
> diff --git a/drivers/regulator/rtq2134-regulator.c
> b/drivers/regulator/rtq2134-regulator.c
> index f21e3f8b21f2..8e13dea354a2 100644
> --- a/drivers/regulator/rtq2134-regulator.c
> +++ b/drivers/regulator/rtq2134-regulator.c
> @@ -285,6 +285,7 @@ static const unsigned int rtq2134_buck_ramp_delay_table[]
> = {
> .enable_mask = RTQ2134_VOUTEN_MASK, \
> .active_discharge_reg = RTQ2134_REG_BUCK##_id##_CFG0, \
> .active_discharge_mask = RTQ2134_ACTDISCHG_MASK, \
> +.active_discharge_on = RTQ2134_ACTDISCHG_MASK, \
> .ramp_reg = RTQ2134_REG_BUCK##_id##_RSPCFG, \
> .ramp_mask = RTQ2134_RSPUP_MASK, \
> .ramp_delay_table = rtq2134_buck_ramp_delay_table, \
************* Email Confidentiality Notice ********************
The information contained in this e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. It is intended to be conveyed only to the designated recipient(s). Any use, dissemination, distribution, printing, retaining or copying of this e-mail (including its attachments) by unintended recipient(s) is strictly prohibited and may be unlawful. If you are not an intended recipient of this e-mail, or believe that you have received this e-mail in error, please notify the sender immediately (by replying to this e-mail), delete any and all copies of this e-mail (including any attachments) from your system, and do not disclose the content of this e-mail to any other person. Thank you!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-06 10:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-04 2:25 [PATCH] regulator: rtq2134: Fix missing active_discharge_on setting Axel Lin
2022-04-05 9:32 ` Mark Brown
2022-04-06 1:47 ` cy_huang(黃啟原)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox