]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: rtq2134: Fix missing active_discharge_on setting
authorAxel Lin <axel.lin@ingics.com>
Mon, 4 Apr 2022 02:25:14 +0000 (10:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Apr 2022 18:03:14 +0000 (20:03 +0200)
commit165836d6f8de6ecc655329ef9d8af5f91af96021
tree652cf640853c582cbecca062b4052ae5ad8e8550
parentbca6bfb1008bd63cdeba40f15dd4995e22ebae31
regulator: rtq2134: Fix missing active_discharge_on setting

[ Upstream commit 17049bf9de55a42ee96fd34520aff8a484677675 ]

The active_discharge_on setting was missed, so output discharge resistor
is always disabled. Fix it.

Fixes: 0555d41497de ("regulator: rtq2134: Add support for Richtek RTQ2134 SubPMIC")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20220404022514.449231-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/regulator/rtq2134-regulator.c