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

2020-06-30 Thread Andy Shevchenko
On Tue, Jun 30, 2020 at 11:32 AM Andrzej Hajda wrote: > On 29.06.2020 18:36, Andy Shevchenko wrote: > > On Mon, Jun 29, 2020 at 2:22 PM Andrzej Hajda wrote: > >> /sys/kernel/debug/devices_deferred property contains list of deferred > >> devices. > >> This list does not contain reason why the

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

2020-06-30 Thread Andrzej Hajda
On 29.06.2020 18:36, Andy Shevchenko wrote: > On Mon, Jun 29, 2020 at 2:22 PM 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

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

2020-06-29 Thread Andy Shevchenko
On Mon, Jun 29, 2020 at 2:22 PM 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 dev_err_probe function

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

2020-06-29 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 dev_err_probe function introduced recently, ie. if dev_err_probe will be called with