Revert "msm: thermal: Clean up msm cpufreq function calls"

This change causes boot up issues on certain msm8974 devices.
Temporarily reverting the change until issue is root caused

This reverts commit 5daeff0ff0b72c8b5066584eb3f0ba83ffa8ab08

Change-Id: Idf01a7042e70d705f794f3c3f74bdaa2a05083d5
Signed-off-by: Sridhar Parasuram <sridhar@codeaurora.org>
hwmon: qpnp-vadc: Add EOC polling option

Add a DT property qcom,vadc-poll-eoc option to allow
clients to use either interrupt mode or polling mode
for end of conversion request. The DT property is a
optional property to specify polling. If this property is not
present default to use interrupt mode.

Change-Id: I16f3677a24200b80dc5a8535a98ec4a44158302c
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
hwmon: qpnp-current: Add configurable EOC option.

Provide a DT property qcom,iadc-poll-eoc option to
allow clients to choose between using interrupt or
polling method for end of conversion interrupt.
When the optional property is present, use polling
when an ADC conversion is requested.

Change-Id: I2c62a9f8e30f5c1200d439343f0548212977b731
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
ARM: dts: msm-pm8941: Switch VADC/IADC to polling

Switch VADC/IADC to use polling mode to check if the
conversion request is complete by checking the status
bits for the corresponding VADC/IADC registers to
indicate the conversion is complete.

CRs-Fixed: 521265
Change-Id: Ia04af13c52cc098ca7af167c457e52a6f4398b46
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Merge "hwmon: qpnp-vadc: Add EOC polling option" into jb_3.2_rb5.3
Merge "hwmon: qpnp-current: Add configurable EOC option." into jb_3.2_rb5.3
Merge "ARM: dts: msm-pm8941: Switch VADC/IADC to polling" into jb_3.2_rb5.3