linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cpufreq_resume warning issue
@ 2016-03-21  3:43 Zengtao (B)
  2016-03-21  7:32 ` Viresh Kumar
  0 siblings, 1 reply; 10+ messages in thread
From: Zengtao (B) @ 2016-03-21  3:43 UTC (permalink / raw)
  To: rjw@rjwysocki.net, viresh.kumar@linaro.org; +Cc: linux-pm@vger.kernel.org

Hi all:
	I have got the warning in the following code, 
	/*
	 * schedule call cpufreq_update_policy() for first-online CPU, as that
	 * wouldn't be hotplugged-out on suspend. It will verify that the
	 * current freq is in sync with what we believe it to be.
	 */
	policy = cpufreq_cpu_get_raw(cpumask_first(cpu_online_mask));
	if (WARN_ON(!policy))
		return;
	schedule_work(&policy->update);

in my platform, two cores, core 1 don't have the dvfs feature, but core 2 has.
So I think that is the warning reason.

My question:
1. Do we need to warning here? 
2. in my case, the schedule_work will be skipped, is there any problem? 

Thank you.

BR
Zengtao 



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-22 10:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-21  3:43 cpufreq_resume warning issue Zengtao (B)
2016-03-21  7:32 ` Viresh Kumar
2016-03-21  8:05   ` Zengtao (B)
2016-03-21  8:34     ` Viresh Kumar
2016-03-21  9:07       ` Zengtao (B)
2016-03-21  9:09         ` Viresh Kumar
2016-03-21  9:26           ` Zengtao (B)
2016-03-21  9:44             ` Viresh Kumar
2016-03-22  9:58               ` Zengtao (B)
2016-03-22 10:32                 ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).