summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChiYuan Huang <cy_huang@richtek.com>2025-11-27 10:25:51 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-07 06:27:37 +0900
commit2db8fba9174c10570e8dcdb3887b7f3f086ce4bf (patch)
tree9ec782b86ea4e6fb6545048fe9791662e3911a64
parent4842b9514e35e056e08b424f8094f8155913abba (diff)
downloadlinux-2db8fba9174c10570e8dcdb3887b7f3f086ce4bf.tar.gz
linux-2db8fba9174c10570e8dcdb3887b7f3f086ce4bf.tar.bz2
linux-2db8fba9174c10570e8dcdb3887b7f3f086ce4bf.zip
regulator: rtq2208: Correct LDO2 logic judgment bits
commit 8684229e19c4185d53d6fb7004d733907c865a91 upstream. The LDO2 judgement bit position should be 7, not 6. Cc: stable@vger.kernel.org Reported-by: Yoon Dong Min <dm.youn@telechips.com> Fixes: b65439d90150 ("regulator: rtq2208: Fix the LDO DVS capability") Signed-off-by: ChiYuan Huang <cy_huang@richtek.com> Link: https://patch.msgid.link/faadb009f84b88bfcabe39fc5009c7357b00bbe2.1764209258.git.cy_huang@richtek.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/regulator/rtq2208-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rtq2208-regulator.c b/drivers/regulator/rtq2208-regulator.c
index 4a174e27c579..f669a562f036 100644
--- a/drivers/regulator/rtq2208-regulator.c
+++ b/drivers/regulator/rtq2208-regulator.c
@@ -53,7 +53,7 @@
#define RTQ2208_MASK_BUCKPH_GROUP1 GENMASK(6, 4)
#define RTQ2208_MASK_BUCKPH_GROUP2 GENMASK(2, 0)
#define RTQ2208_MASK_LDO2_OPT0 BIT(7)
-#define RTQ2208_MASK_LDO2_OPT1 BIT(6)
+#define RTQ2208_MASK_LDO2_OPT1 BIT(7)
#define RTQ2208_MASK_LDO1_FIXED BIT(6)
/* Size */