Cpufreq: interactive: remove duplicate min_sample_time
authorPuneet Saxena <puneets@nvidia.com>
Mon, 11 Nov 2013 15:08:14 +0000 (20:08 +0530)
committerBharat Nihalani <bnihalani@nvidia.com>
Tue, 12 Nov 2013 08:08:24 +0000 (00:08 -0800)
commit9859e528704cc31d5ad4642454f6e6aac4b51cc1
treee7b3458962fa7cf23882876772b1c92bfd6eba3c
parent4d20a2cccade16bf9a40b423273ee2f657111a8d
Cpufreq: interactive: remove duplicate min_sample_time

All of the global gov tunables are moved to "tunables" structure.
"DEFAULT_MIN_SAMPLE_TIME" is reinitialized wrongly, causing
"min_sample_time" set as very high value(80ms).
This causes cpu to take more time to ramp down freq.

It removes global "min_sample_time" and sets "min_sample_time"
as 30ms to improve ramping down period.

Bug 1402227

Change-Id: Ifae8db68c03a315474921028c39875bf1ab0b383
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/328986
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/cpufreq/cpufreq_interactive.c