]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: Set deferred probe reason when deferred by driver core
authorSaravana Kannan <saravanak@google.com>
Wed, 15 Sep 2021 17:28:05 +0000 (10:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Sep 2021 07:48:48 +0000 (09:48 +0200)
commit526337cc433c7b00a005ae8e4ad2a67d23fe2079
tree75e92484f8b2c012b8d149f16ce3254a22cf0e12
parent2e0d2e04c9b20f51caffe0e4881f747c5f3b34a0
driver core: Set deferred probe reason when deferred by driver core

When the driver core defers the probe of a device, set the deferred
probe reason so that it's easier to debug. The deferred probe reason is
available in debugfs under devices_deferred.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20210915172808.620546-2-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/core.c