lkml.org 
[lkml]   [2015]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] driver core: Ensure proper suspend/resume ordering
From
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


\
 
 \ /
  Last update: 2015-09-18 02:21    [W:0.113 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site