We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f2c346 commit e11daafCopy full SHA for e11daaf
drivers/base/core.c
@@ -4898,16 +4898,8 @@ void device_shutdown(void)
4898
4899
idx = device_links_read_lock();
4900
list_for_each_entry_rcu(link, &dev->links.suppliers, c_node,
4901
- device_links_read_lock_held()) {
4902
- /*
4903
- * sync_state_only suppliers don't need to wait,
4904
- * aren't reordered on devices_kset, so making them
4905
- * wait could result in a hang
4906
- */
4907
- if (device_link_flag_is_sync_state_only(link->flags))
4908
- continue;
+ device_links_read_lock_held())
4909
link->supplier->p->shutdown_after = cookie;
4910
- }
4911
device_links_read_unlock(idx);
4912
put_device(dev);
4913
0 commit comments