summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-15 17:32:13 -0600
committerTom Rini <[email protected]>2026-05-15 17:32:13 -0600
commitdc4dd589269d0c3fbaee6be41241b66d685686b2 (patch)
tree5b7489ec0f9d6abc28466d06de30f32e424493b5 /drivers/power
parenta6f6947e43fba91de3ec5d0390eee7eb1a6a80f7 (diff)
parent9e46861a01dd0a011616bf219f393303580dcd8b (diff)
Merge tag 'u-boot-imx-next-20260515' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/30134 - Several conversions to OF_UPSTREAM. - Added i.MX9 Quickboot support. - Added support for i.MX952 in the fsl_enetc driver. - Update i.MX91 part number detection.
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/regulator/pfuze100.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/regulator/pfuze100.c b/drivers/power/regulator/pfuze100.c
index 77c82a00b65..57af16cfbb9 100644
--- a/drivers/power/regulator/pfuze100.c
+++ b/drivers/power/regulator/pfuze100.c
@@ -550,6 +550,8 @@ static int pfuze100_regulator_val(struct udevice *dev, int op, int *uV)
return -EINVAL;
}
val = pmic_reg_read(dev->parent, desc->vsel_reg);
+ if (val < 0)
+ return val;
if (desc->high_volt_mask && (val & desc->high_volt_mask)) {
min_uV = desc->high_volt_desc->min_uV;
uV_step = desc->high_volt_desc->uV_step;