msm: board-8064: Use 8960_PM8917 rpm-regulator version with PM8917
Utilize the 8960_PM8917 rpm-regulator version when PM8917 is
detected so that the TCXO workaround is applied to PM8917
regulators L25, L26, L27, and L28 on APQ8064 targets.
Change-Id: Ie62f89fd534493cc74987d26c6746b2283f7963f
CRs-Fixed: 405336
Signed-off-by: David Collins <collinsd@codeaurora.org>
(cherry picked from commit e93ed7dda0b0cc41033d28ce325a29022a47d984)
diff --git a/arch/arm/mach-msm/board-8064-regulator.c b/arch/arm/mach-msm/board-8064-regulator.c
index 5b1e199..4ae811d 100644
--- a/arch/arm/mach-msm/board-8064-regulator.c
+++ b/arch/arm/mach-msm/board-8064-regulator.c
@@ -757,4 +757,10 @@
= ARRAY_SIZE(vreg_consumers_8917_S1);
}
}
+
+ /*
+ * Switch to 8960_PM8917 rpm-regulator version so that TCXO workaround
+ * is applied to PM8917 regulators L25, L26, L27, and L28.
+ */
+ apq8064_rpm_regulator_pdata.version = RPM_VREG_VERSION_8960_PM8917;
}