Messages in this thread | | | Date | Mon, 15 Jun 2020 18:41:41 +0100 | From | Quentin Perret <> | Subject | Re: [PATCH 2/2] cpufreq: Specify default governor on command line |
| |
On Monday 15 Jun 2020 at 17:55:54 (+0100), Quentin Perret wrote: > static int cpufreq_init_governor(struct cpufreq_policy *policy) > { > int ret; > @@ -2701,6 +2721,8 @@ int cpufreq_register_driver(struct cpufreq_driver *driver_data) > > if (driver_data->setpolicy) > driver_data->flags |= CPUFREQ_CONST_LOOPS; > + else > + cpufreq_get_default_governor();
Looking at this again, it appears that the comment above cpufreq_parse_governor() confused me a bit -- this needs doing unconditionally I think.
I'll fix it in v2.
Thanks, Quentin
| |