Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c550138 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "regulator: spm-regulator: initialize SAW VCTL register at probe time"

parents 0bc4989b 311dbfca
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -633,7 +633,15 @@ static int qpnp_smps_init_voltage(struct spm_vreg *vreg)
	vreg->vlevel = vreg->last_set_vlevel;
	vreg->vlevel = vreg->last_set_vlevel;
	vreg->uV = vreg->last_set_uV;
	vreg->uV = vreg->last_set_uV;


	return rc;
	/* Initialize SAW voltage control register */
	if (!vreg->bypass_spm) {
		rc = msm_spm_set_vdd(vreg->cpu_num, vreg->vlevel);
		if (rc)
			pr_err("%s: msm_spm_set_vdd failed, rc=%d\n",
			       vreg->rdesc.name, rc);
	}

	return 0;
}
}


static int qpnp_smps_init_mode(struct spm_vreg *vreg)
static int qpnp_smps_init_mode(struct spm_vreg *vreg)