Re: [PATCH] cpufreq: skip cpufreq resume if it's not suspended

From: Viresh Kumar
Date: Mon Feb 05 2018 - 04:06:05 EST


On 05-02-18, 09:50, Rafael J. Wysocki wrote:
> By design (which I admit may be confusing) it should be fine to call
> dpm_resume_end() after a failing dpm_suspend_start(), whatever the reason
> for the failure is. cpufreq_suspend/resume() don't take that into account,
> everybody else does.

Hmm, I see. Can't do much then, just fix the only broken piece of code :)

--
viresh