projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2560fe2
)
regulator: rtq2134: Fix missing active_discharge_on setting
author
Axel Lin
<axel.lin@ingics.com>
Mon, 4 Apr 2022 02:25:14 +0000
(10:25 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:59:16 +0000
(20:59 +0200)
[ Upstream commit
17049bf9de55a42ee96fd34520aff8a484677675
]
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>
Link:
https://lore.kernel.org/r/20220404022514.449231-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/regulator/rtq2134-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/rtq2134-regulator.c
b/drivers/regulator/rtq2134-regulator.c
index
f21e3f8
..
8e13dea
100644
(file)
--- 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, \