Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Andy Shevchenko
On Tue, Oct 16, 2018 at 10:22 AM Andrzej Hajda wrote: > > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function

Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Andy Shevchenko
On Tue, Oct 16, 2018 at 10:22 AM Andrzej Hajda wrote: > > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function

Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Javier Martinez Canillas
On 10/16/2018 09:22 AM, Andrzej Hajda wrote: > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function introduced recently,

Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Javier Martinez Canillas
On 10/16/2018 09:22 AM, Andrzej Hajda wrote: > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function introduced recently,

Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Mark Brown
On Tue, Oct 16, 2018 at 09:22:43AM +0200, Andrzej Hajda wrote: > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function

Re: [PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Mark Brown
On Tue, Oct 16, 2018 at 09:22:43AM +0200, Andrzej Hajda wrote: > /sys/kernel/debug/devices_deferred property contains list of deferred devices. > This list does not contain reason why the driver deferred probe, the patch > improves it. > The natural place to set the reason is probe_err function

[PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Andrzej Hajda
/sys/kernel/debug/devices_deferred property contains list of deferred devices. This list does not contain reason why the driver deferred probe, the patch improves it. The natural place to set the reason is probe_err function introduced recently, ie. if probe_err will be called with -EPROBE_DEFER

[PATCH 2/3] driver core: add deferring probe reason to devices_deferred property

2018-10-16 Thread Andrzej Hajda
/sys/kernel/debug/devices_deferred property contains list of deferred devices. This list does not contain reason why the driver deferred probe, the patch improves it. The natural place to set the reason is probe_err function introduced recently, ie. if probe_err will be called with -EPROBE_DEFER