summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2026-09-01 12:31:21 +0800
committerMark Brown <broonie@kernel.org>2026-09-04 19:12:16 +0100
commit24fa0eadc2e3c7e9397924197dca7777ec08b8d7 (patch)
tree35c40851fad37b4c7f3cadb06d25501cddd73acc /drivers/regulator
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
downloadlinux-next-24fa0eadc2e3c7e9397924197dca7777ec08b8d7.tar.gz
linux-next-24fa0eadc2e3c7e9397924197dca7777ec08b8d7.zip
regulator: mp886x: fix vsel_mask
The MP886X vsel is 7bits, fix the vsel_mask. Fixes: 97be82880b61 ("regulator: add support for MP8869 regulator") Signed-off-by: Jisheng Zhang <jszhang@kernel.org> Link: https://patch.msgid.link/20260901043123.5401-2-jszhang@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/mp886x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/mp886x.c b/drivers/regulator/mp886x.c
index e0b62bc02a1e..a10f3a20d413 100644
--- a/drivers/regulator/mp886x.c
+++ b/drivers/regulator/mp886x.c
@@ -267,7 +267,7 @@ static int mp886x_regulator_register(struct mp886x_device_info *di,
rdesc->min_uV = 600000;
rdesc->uV_step = 10000;
rdesc->vsel_reg = MP886X_VSEL;
- rdesc->vsel_mask = 0x3f;
+ rdesc->vsel_mask = 0x7f;
rdesc->ramp_reg = MP886X_SYSCNTLREG1;
rdesc->ramp_mask = MP886X_SLEW_MASK;
rdesc->ramp_delay_table = di->ci->slew_rates;