Commit 4f2c346
driver core: fix async device shutdown hang
Modify device_shutdown() so that supplier devices do not wait for
consumer devices to be shut down first when the devlink is sync state
only, since the consumer is not dependent on the supplier in this case.
Without this change, a circular dependency could hang the system.
Fixes: 8064952 ("driver core: shut down devices asynchronously")
Signed-off-by: Stuart Hayes <[email protected]>
Tested-by: Laurence Oberman <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 6a36d82 commit 4f2c346
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4898 | 4898 | | |
4899 | 4899 | | |
4900 | 4900 | | |
4901 | | - | |
| 4901 | + | |
| 4902 | + | |
| 4903 | + | |
| 4904 | + | |
| 4905 | + | |
| 4906 | + | |
| 4907 | + | |
| 4908 | + | |
4902 | 4909 | | |
| 4910 | + | |
4903 | 4911 | | |
4904 | 4912 | | |
4905 | 4913 | | |
| |||
0 commit comments