diff options
| author | Ram Chandrasekar <rkumbako@codeaurora.org> | 2016-05-03 17:21:40 -0600 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-05-05 15:05:51 -0700 |
| commit | a004a8c07b16efee3200bb2ef3610b0553dabb2f (patch) | |
| tree | 197ff3515e2786a02b43803b53e4cc89a2d22303 /drivers/thermal | |
| parent | a58645dc68a40452c0c9d7ad9f6545e5345b98e1 (diff) | |
msm: thermal: Remove proactive vdd restriction during probe
Vdd restriction probe will apply mitigation, which will be cleared
later during the KTM boot mitigation. KTM now initializes the
data structures to do this mitigation only after vdd restriction probe.
So remove this pro-active mitigation in the probe function. KTM boot
mitigation will be started immediately after the KTM probe and can take
care of this mitigation.
CRs-Fixed: 1010111
Change-Id: Ica59aeb0c94581e3c37b5b7df16c187ced45c28a
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Diffstat (limited to 'drivers/thermal')
| -rw-r--r-- | drivers/thermal/msm_thermal.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/thermal/msm_thermal.c b/drivers/thermal/msm_thermal.c index 743a2a5922dc..a09f58eec659 100644 --- a/drivers/thermal/msm_thermal.c +++ b/drivers/thermal/msm_thermal.c @@ -5378,15 +5378,6 @@ static int vdd_restriction_reg_init(struct platform_device *pdev) for (i = 0; i < rails_cnt; i++) { if (rails[i].freq_req == 1) { usefreq |= BIT(i); - check_freq_table(); - /* - * Restrict frequency by default until we have made - * our first temp reading - */ - if (freq_table_get) - ret = vdd_restriction_apply_freq(&rails[i], 0); - else - pr_info("Defer vdd rstr freq init.\n"); } else { rails[i].reg = devm_regulator_get(&pdev->dev, rails[i].name); @@ -5404,11 +5395,6 @@ static int vdd_restriction_reg_init(struct platform_device *pdev) rails[i].name); return ret; } - /* - * Restrict votlage by default until we have made - * our first temp reading - */ - ret = vdd_restriction_apply_voltage(&rails[i], 0); } } |
