]> git.sur5r.net Git - u-boot/blobdiff - drivers/power/regulator/palmas_regulator.c
imx6: icorem6_rqs: Update SPL board boot order for eMMC
[u-boot] / drivers / power / regulator / palmas_regulator.c
index cce7cd2fc222a06040c3a4e071d45250560dd481..399f7a5f5513e1a0a7cb9a34c477d5fe5e687266 100644 (file)
@@ -356,7 +356,7 @@ static int palmas_smps_probe(struct udevice *dev)
                case 8:
                case 9:
                case 10:
-                       idx = dev->driver_data - 4;
+                       idx = dev->driver_data - 3;
                        uc_pdata->ctrl_reg = palmas_smps_ctrl[type][idx];
                        uc_pdata->volt_reg = palmas_smps_volt[type][idx];
                        break;