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

Commit 6ec79248 authored by David Collins's avatar David Collins
Browse files

regulator: cpr3-hmss-regulator: update CBF offset fuse check



MSM8996-Pro chips with HMSS CPR revision 1 will also utilize CBF
voltage offset fuses.  Update the fuse presence check to include
this revision.

Change-Id: I8a9cd45a961948b39d3ed4cadf1a91706041c9c3
CRs-Fixed: 980901
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 8bfca258
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -433,7 +433,7 @@ static inline bool cpr3_msm8996_hmss_use_voltage_offset_fuse(
	struct cpr3_msm8996_hmss_fuses *fuse = vreg->platform_fuses;

	return vreg->thread->ctrl->soc_revision == MSM8996PRO_SOC_ID
	       && fuse->cpr_fusing_rev >= 2
	       && fuse->cpr_fusing_rev >= 1
	       && of_property_read_bool(vreg->of_node, "qcom,is-cbf-regulator");
}