Skip to content

Commit 2316f0f

Browse files
AxelLinbroonie
authored andcommitted
regulator: atc260x: Fix missing active_discharge_on setting
Without active_discharge_on setting, the SWITCH1 discharge enable control is always disabled. Fix it. Fixes: 3b15cca ("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>
1 parent 17049bf commit 2316f0f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/regulator/atc260x-regulator.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ enum atc2603c_reg_ids {
292292
.bypass_mask = BIT(5), \
293293
.active_discharge_reg = ATC2603C_PMU_SWITCH_CTL, \
294294
.active_discharge_mask = BIT(1), \
295+
.active_discharge_on = BIT(1), \
295296
.owner = THIS_MODULE, \
296297
}
297298

0 commit comments

Comments
 (0)