msm: rpm: Disable RPM resources init on APQ8064
Prevent the rpmrs driver from running on APQ8064.
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
diff --git a/arch/arm/mach-msm/rpm_resources.c b/arch/arm/mach-msm/rpm_resources.c
index ad58d0d..69bb0f1 100644
--- a/arch/arm/mach-msm/rpm_resources.c
+++ b/arch/arm/mach-msm/rpm_resources.c
@@ -930,6 +930,9 @@
struct msm_rpm_iv_pair req;
int rc;
+ if (cpu_is_apq8064())
+ return -ENODEV;
+
BUG_ON(!msm_rpmrs_levels);
if (cpu_is_msm8x60()) {