cpufreq: interactive: check freq with policy->cur rel-tegranote-r2 daily-2013.11.05.1_rel-tegranote-r2-partner
authorJinyoung Park <jinyoungp@nvidia.com>
Wed, 30 Oct 2013 10:34:03 +0000 (19:34 +0900)
committerGabby Lee <galee@nvidia.com>
Wed, 30 Oct 2013 16:27:21 +0000 (09:27 -0700)
commit665c49bfcf55cdce2987b9e7abe4c2f1eb1207e3
treeb12de07389bd18913e81bef9194c78115b879969
parenta55b5a070aabecd0e8550599713c70d6d9844ea6
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.

Change-Id: Id263e2c9988873e41ebe95dfcf52dab9d24ddcad
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/309571
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
drivers/cpufreq/cpufreq_interactive.c