msm: cpr: Update the dynamic quot calculation logic
Use 0.5v as multiplier instead of the 0.9v while deriving
the new quot. This will help us in the getting the
higher target quot with good functional stability.
Change-Id: I20d3773cf3d2568df99f0898ef8c06d0ea56e503
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm7x27a.c b/arch/arm/mach-msm/devices-msm7x27a.c
index 4060ed6..4a6271c 100644
--- a/arch/arm/mach-msm/devices-msm7x27a.c
+++ b/arch/arm/mach-msm/devices-msm7x27a.c
@@ -1727,7 +1727,7 @@
uint32_t quot;
/* This formula is as per chip characterization data */
- quot = max_quot - ((max_freq / 10 - new_freq / 10) * 9) + 20;
+ quot = max_quot - ((max_freq / 10 - new_freq / 10) * 5);
return quot;
}