Messages in this thread | | | Date | Fri, 18 Sep 2015 02:03:24 +0200 | Subject | Re: [PATCH] driver core: Ensure proper suspend/resume ordering | From | "Rafael J. Wysocki" <> |
| |
On Fri, Sep 18, 2015 at 1:59 AM, Rafael J. Wysocki <rafael@kernel.org> wrote: > Hi, > > On Thu, Sep 17, 2015 at 5:48 PM, Grygorii Strashko > <grygorii.strashko@ti.com> wrote:
[cut]
> > In any case, maybe call that from dpm_suspend_start() after > dpm_prepare() has run successfully? This is the point we need to > start to block probing after all.
Actually, even before dpm_prepare().
> >> + } >> + >> if (error) >> thaw_processes(); >> return error; >> @@ -190,6 +197,7 @@ void thaw_processes(void) >> atomic_dec(&system_freezing_cnt); >> pm_freezing = false; >> pm_nosig_freezing = false; >> + device_force_probe_deferral(false); > > And why don't you call that from dpm_resume_end()? > >> >> oom_killer_enable(); >> >> --
Thanks, Rafael
| |