Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

regulator: rtq2208: Correct buck group2 phase mapping logic

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>

authored by

ChiYuan Huang and committed by
Mark Brown
45cc2141 ac3fd01e

+2 -2
+2 -2
drivers/regulator/rtq2208-regulator.c
··· 543 543 544 544 switch (FIELD_GET(RTQ2208_MASK_BUCKPH_GROUP2, buck_phase)) { 545 545 case 2: 546 - rtq2208_used_table[RTQ2208_BUCK_F] = true; 546 + rtq2208_used_table[RTQ2208_BUCK_H] = true; 547 547 fallthrough; 548 548 case 1: 549 549 rtq2208_used_table[RTQ2208_BUCK_E] = true; 550 550 fallthrough; 551 551 case 0: 552 552 case 3: 553 - rtq2208_used_table[RTQ2208_BUCK_H] = true; 553 + rtq2208_used_table[RTQ2208_BUCK_F] = true; 554 554 fallthrough; 555 555 default: 556 556 rtq2208_used_table[RTQ2208_BUCK_G] = true;