Xiaoguang Chen
3baa976ae6
cpufreq: conservative: fix requested_freq reduction issue
...
When decreasing frequency, requested_freq may be less than
freq_target, So requested_freq minus freq_target may be negative,
But reqested_freq's unit is unsigned int, then the negative result
will be one larger interger which may be even higher than
requested_freq.
This patch is to fix such issue. when result becomes negative,
set requested_freq as the min value of policy.
Signed-off-by: Xiaoguang Chen <chenxg@marvell.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-11-07 19:36:19 +01:00
..
2013-10-31 00:11:08 +01:00
2013-04-10 13:19:26 +02:00
2013-10-25 22:33:23 +02:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:10:53 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-11-07 19:36:19 +01:00
2013-08-29 22:19:23 +02:00
2013-10-16 00:50:23 +02:00
2013-11-01 00:44:34 +01:00
2013-08-07 23:34:09 +02:00
2013-08-07 23:34:09 +02:00
2013-09-10 02:49:46 +02:00
2013-10-17 23:00:20 +02:00
2013-10-31 00:11:08 +01:00
2013-10-16 00:50:29 +02:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-17 13:52:48 +02:00
2013-10-17 13:52:49 +02:00
2013-02-21 14:58:40 -08:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-08-12 12:00:21 +05:30
2013-10-16 00:50:23 +02:00
2013-10-16 00:50:30 +02:00
2013-10-17 00:53:08 +02:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-16 00:50:30 +02:00
2013-11-07 02:05:48 +01:00
2013-10-16 00:50:33 +02:00
2013-10-30 00:48:26 +01:00
2013-10-16 00:50:33 +02:00
2013-10-16 00:50:33 +02:00
2013-10-31 00:11:08 +01:00
2013-10-25 22:42:24 +02:00
2013-07-14 19:36:57 -04:00
2013-10-16 00:50:23 +02:00
2013-10-31 00:11:08 +01:00
2013-10-30 00:48:26 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-16 00:50:31 +02:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-25 22:42:24 +02:00
2013-10-25 22:42:24 +02:00
2011-05-19 18:51:07 -04:00
2013-10-31 00:11:08 +01:00
2012-09-09 22:05:30 +02:00
2013-04-10 13:19:26 +02:00
2013-04-10 13:19:26 +02:00
2013-10-31 00:11:08 +01:00
2013-04-10 13:19:26 +02:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-05-20 23:04:28 +09:00
2013-10-16 00:50:35 +02:00
2013-10-31 00:11:08 +01:00
2013-05-20 23:04:28 +09:00
2013-05-20 23:04:28 +09:00
2013-10-31 00:11:08 +01:00
2013-05-20 23:04:28 +09:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-16 00:50:32 +02:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2012-01-26 16:49:06 -08:00
2011-05-19 18:51:07 -04:00
2013-10-31 00:11:08 +01:00
2013-10-31 00:11:08 +01:00
2013-10-16 00:50:32 +02:00
2013-10-30 00:48:26 +01:00