Messages in this thread | | | Date | Wed, 18 Jun 2014 20:11:48 +0530 | Subject | Re: [PATCH] cpufreq: unlock when failing cpufreq_update_policy() | From | Viresh Kumar <> |
| |
On 18 June 2014 20:09, Aaron Plattner <aplattner@nvidia.com> wrote: > I assume you meant "return -ENODEV"?
Yeah, sorry :)
>> down_write(&policy->rwsem); >> >> @@ -2279,10 +2277,10 @@ int cpufreq_update_policy(unsigned int cpu) >> >> ret = cpufreq_set_policy(policy, &new_policy); >> >> +no_policy: > > > 'no_policy' implied to me that policy was NULL, so this label should still > be renamed to 'unlock'. I'll send out a v2 that does this.
Yeah.
| |