Thread (15 messages) flat view 15 messages, 3 authors, 2020-06-23

Re: [PATCH 2/2] cpufreq: Specify default governor on command line

From: Quentin Perret <hidden>
Date: 2020-06-15 17:41:50
Also in: linux-pm, lkml

On Monday 15 Jun 2020 at 17:55:54 (+0100), Quentin Perret wrote:
quoted hunk ↗ jump to hunk
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help