]> 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)
commit54bfd2f63529d9c35a544d726f31817542b1b0fb
treea2998e2ce991a9956d6be1850d63ee7c3c5e4735
parente13bbfbc3327daf49462fdad005a7c8d6c28c0c1
regulator: atc260x: Fix missing active_discharge_on setting

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

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