Commit fafe16b7 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] Longrun validate can fail.

From Dominik

Instead of trying to guess what the user intended, fail if the user
requests a setting which is not supported by the longrun driver.
parent c65dd7c8
......@@ -123,7 +123,7 @@ static int longrun_verify_policy(struct cpufreq_policy *policy)
policy->cpuinfo.max_freq);
if (policy->policy == CPUFREQ_POLICY_GOVERNOR)
policy->policy = longrun_driver.policy[0].policy;
return -EINVAL;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment