]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit081d8efe70f8d4dbd7531ffa1ca530a235d47a7a
treea2998e2ce991a9956d6be1850d63ee7c3c5e4735
parent4ba1dc2bbfdc08398c915faa42a78aabaea01be8
regulator: atc260x: Fix missing active_discharge_on setting

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

Fixes: c6fe87b493de ("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