forked from Minki/linux
regulator: rtq2134: Fix missing active_discharge_on setting
The active_discharge_on setting was missed, so output discharge resistor
is always disabled. Fix it.
Fixes: 0555d41497
("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>
This commit is contained in:
parent
92d96b6037
commit
17049bf9de
@ -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, \
|
||||
|
Loading…
Reference in New Issue
Block a user