regulator: atc260x: Fix missing active_discharge_on setting
Without active_discharge_on setting, the SWITCH1 discharge enable control
is always disabled. Fix it.
Fixes: 3b15ccac16
("regulator: Add regulator driver for ATC260x PMICs")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20220403132235.123727-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
17049bf9de
commit
2316f0fc0a
|
@ -292,6 +292,7 @@ enum atc2603c_reg_ids {
|
||||||
.bypass_mask = BIT(5), \
|
.bypass_mask = BIT(5), \
|
||||||
.active_discharge_reg = ATC2603C_PMU_SWITCH_CTL, \
|
.active_discharge_reg = ATC2603C_PMU_SWITCH_CTL, \
|
||||||
.active_discharge_mask = BIT(1), \
|
.active_discharge_mask = BIT(1), \
|
||||||
|
.active_discharge_on = BIT(1), \
|
||||||
.owner = THIS_MODULE, \
|
.owner = THIS_MODULE, \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue