projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3fd01
)
regulator: rtq2208: Correct buck group2 phase mapping logic
author
ChiYuan Huang
<cy_huang@richtek.com>
Thu, 27 Nov 2025 02:25:50 +0000
(10:25 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 27 Nov 2025 11:40:59 +0000
(11:40 +0000)
Correct buck group2 H and F mapping logic.
Cc: stable@vger.kernel.org
Reported-by: Yoon Dong Min <dm.youn@telechips.com>
Fixes:
1742e7e978ba
("regulator: rtq2208: Fix incorrect buck converter phase mapping")
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link:
https://patch.msgid.link/8527ae02a72b754d89b7580a5fe7474d6f80f5c3.1764209258.git.cy_huang@richtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rtq2208-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/rtq2208-regulator.c
b/drivers/regulator/rtq2208-regulator.c
index
9cde718
..
4a174e2
100644
(file)
--- a/
drivers/regulator/rtq2208-regulator.c
+++ b/
drivers/regulator/rtq2208-regulator.c
@@
-543,14
+543,14
@@
static int rtq2208_regulator_check(struct device *dev, int *num, int *regulator_
switch (FIELD_GET(RTQ2208_MASK_BUCKPH_GROUP2, buck_phase)) {
case 2:
- rtq2208_used_table[RTQ2208_BUCK_
F
] = true;
+ rtq2208_used_table[RTQ2208_BUCK_
H
] = true;
fallthrough;
case 1:
rtq2208_used_table[RTQ2208_BUCK_E] = true;
fallthrough;
case 0:
case 3:
- rtq2208_used_table[RTQ2208_BUCK_
H
] = true;
+ rtq2208_used_table[RTQ2208_BUCK_
F
] = true;
fallthrough;
default:
rtq2208_used_table[RTQ2208_BUCK_G] = true;