diff options
Diffstat (limited to 'drivers/cpufreq/cpufreq_conservative.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_conservative.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index 1fa1deb6e91f..c395f9198fd2 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c | |||
@@ -212,8 +212,8 @@ static ssize_t store_down_threshold(struct dbs_data *dbs_data, const char *buf, | |||
212 | int ret; | 212 | int ret; |
213 | ret = sscanf(buf, "%u", &input); | 213 | ret = sscanf(buf, "%u", &input); |
214 | 214 | ||
215 | /* cannot be lower than 11 otherwise freq will not fall */ | 215 | /* cannot be lower than 1 otherwise freq will not fall */ |
216 | if (ret != 1 || input < 11 || input > 100 || | 216 | if (ret != 1 || input < 1 || input > 100 || |
217 | input >= cs_tuners->up_threshold) | 217 | input >= cs_tuners->up_threshold) |
218 | return -EINVAL; | 218 | return -EINVAL; |
219 | 219 | ||