regulator: atc260x: Fix missing active_discharge_on setting
authorAxel Lin <axel.lin@ingics.com>
Sun, 3 Apr 2022 13:22:35 +0000 (21:22 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Apr 2022 07:59:43 +0000 (08:59 +0100)
commit2316f0fc0ad2aa87a568ceaf3d76be983ee555c3
treea2998e2ce991a9956d6be1850d63ee7c3c5e4735
parent17049bf9de55a42ee96fd34520aff8a484677675
regulator: atc260x: Fix missing active_discharge_on setting

Without active_discharge_on setting, the SWITCH1 discharge enable control
is always disabled. Fix it.

Fixes: 3b15ccac161a ("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>
drivers/regulator/atc260x-regulator.c