File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ static void dpm_async_resume_subordinate(struct device *dev, async_func_t func)
675
675
idx = device_links_read_lock ();
676
676
677
677
/* Start processing the device's "async" consumers. */
678
- list_for_each_entry_rcu (link , & dev -> links .consumers , s_node )
678
+ list_for_each_entry_rcu_locked (link , & dev -> links .consumers , s_node )
679
679
if (READ_ONCE (link -> status ) != DL_STATE_DORMANT )
680
680
dpm_async_with_cleanup (link -> consumer , func );
681
681
@@ -1330,7 +1330,7 @@ static void dpm_async_suspend_superior(struct device *dev, async_func_t func)
1330
1330
idx = device_links_read_lock ();
1331
1331
1332
1332
/* Start processing the device's "async" suppliers. */
1333
- list_for_each_entry_rcu (link , & dev -> links .suppliers , c_node )
1333
+ list_for_each_entry_rcu_locked (link , & dev -> links .suppliers , c_node )
1334
1334
if (READ_ONCE (link -> status ) != DL_STATE_DORMANT )
1335
1335
dpm_async_with_cleanup (link -> supplier , func );
1336
1336
You can’t perform that action at this time.
0 commit comments