cpufreq: interactive: check freq with policy->cur
authorJinyoung Park <jinyoungp@nvidia.com>
Wed, 30 Oct 2013 10:34:03 +0000 (19:34 +0900)
committerHarry Hong <hhong@nvidia.com>
Wed, 6 Nov 2013 06:05:05 +0000 (22:05 -0800)
commit1e79d212f474f47270f433e2798ff63723576508
tree6adbca1a7c85bd93a9ea05045773a1c8fb2ab1b2
parent01cacac6b801de62903dc447ac5eb514a648bd86
cpufreq: interactive: check freq with policy->cur

Added check for new target freq with policy->cur before request new
target freq.
This change is derived from http://git-master/r/#/c/298964/ for
stability issues.

Bug 1397658.

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/309571
(cherry picked from commit 665c49bfcf55cdce2987b9e7abe4c2f1eb1207e3)

Change-Id: Id263e2c9988873e41ebe95dfcf52dab9d24ddcad
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/326907
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
drivers/cpufreq/cpufreq_interactive.c