On Fri, Sep 18, 2015 at 1:59 AM, Rafael J. Wysocki <raf...@kernel.org> wrote:
> Hi,
>
> On Thu, Sep 17, 2015 at 5:48 PM, Grygorii Strashko
> <grygorii.stras...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to