Skip to content

Commit

Permalink
bugfix: consavative governor frequency is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sakuramilk committed Oct 20, 2011
1 parent a6ad0f4 commit a6ab92f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/cpufreq/cpufreq_conservative.c
Expand Up @@ -346,6 +346,8 @@ static ssize_t store_freq_step(struct kobject *a, struct attribute *b,

if (input > 100)
input = 100;
else if (input < 5) // If input value is 0, the frequency is fixed
input = 5;

/* no need to test here if freq_step is zero as the user might actually
* want this, they would be crazy though :) */
Expand Down

0 comments on commit a6ab92f

Please sign in to comment.