diff options
author | Saravana Kannan <saravanak@google.com> | 2020-05-21 12:18:00 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-10 15:24:56 +0200 |
commit | da6d647598a6d182eb6a0344a7b14ae005244399 (patch) | |
tree | 88dcad2df2466fa911d88dcad5669b7c72d5b016 /kernel/resource.c | |
parent | 8fd456ec0cf03875908d6b67c1cd20cf0a7b4474 (diff) | |
download | linux-stable-da6d647598a6d182eb6a0344a7b14ae005244399.tar.gz linux-stable-da6d647598a6d182eb6a0344a7b14ae005244399.tar.bz2 linux-stable-da6d647598a6d182eb6a0344a7b14ae005244399.zip |
driver core: Add waiting_for_supplier sysfs file for devices
This would be useful to check if a device is not probing because it's
waiting for a supplier to be added and then linked to before it can
probe.
To reduce sysfs clutter, this file is added only if it can ever be 1.
So, if fw_devlink is disabled or set to permissive, this file is not
added. Also, this file is removed once the device probes as it's no
longer relevant.
Signed-off-by: Saravana Kannan <saravanak@google.com>
Link: https://lore.kernel.org/r/20200521191800.136035-4-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions