summaryrefslogtreecommitdiff
path: root/drivers/regulator/rk808-regulator.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-11-07 12:49:36 -1000
committerLinus Torvalds <torvalds@linux-foundation.org>2024-11-07 12:49:36 -1000
commit7b85bb4bc043d703c6d8bb35080b7753a1dd8021 (patch)
tree3ce50f3e14551dd3ff981eafe4724d8aaa84f1bf /drivers/regulator/rk808-regulator.c
parentbfc64d9b7e8cac82be6b8629865e137d962578f8 (diff)
parent5e53e4a66bc7430dd2d11c18a86410e3a38d2940 (diff)
downloadlinux-7b85bb4bc043d703c6d8bb35080b7753a1dd8021.tar.gz
linux-7b85bb4bc043d703c6d8bb35080b7753a1dd8021.tar.bz2
linux-7b85bb4bc043d703c6d8bb35080b7753a1dd8021.zip
Merge tag 'regulator-fix-v6.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator
Pull regulator fixes from Mark Brown: "A couple of small fixes for drivers, nothing particularly remarkable" * tag 'regulator-fix-v6.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator: regulator: rk808: Add apply_bit for BUCK3 on RK809 regulator: rtq2208: Fix uninitialized use of regulator_config
Diffstat (limited to 'drivers/regulator/rk808-regulator.c')
-rw-r--r--drivers/regulator/rk808-regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
index 14b60abd6afc..01a8d0487918 100644
--- a/drivers/regulator/rk808-regulator.c
+++ b/drivers/regulator/rk808-regulator.c
@@ -1379,6 +1379,8 @@ static const struct regulator_desc rk809_reg[] = {
.n_linear_ranges = ARRAY_SIZE(rk817_buck1_voltage_ranges),
.vsel_reg = RK817_BUCK3_ON_VSEL_REG,
.vsel_mask = RK817_BUCK_VSEL_MASK,
+ .apply_reg = RK817_POWER_CONFIG,
+ .apply_bit = RK817_BUCK3_FB_RES_INTER,
.enable_reg = RK817_POWER_EN_REG(0),
.enable_mask = ENABLE_MASK(RK817_ID_DCDC3),
.enable_val = ENABLE_MASK(RK817_ID_DCDC3),