projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f7c54
)
Revert "driver core: Reorder devices on successful probe"
author
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 18:02:29 +0000
(19:02 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 12 Jan 2021 18:02:29 +0000
(19:02 +0100)
This reverts commit
5b6164d3465fcc13b5679c860c452963443172a7
.
Stephan reports problems with this commit, so revert it for now.
Fixes:
5b6164d3465f
("driver core: Reorder devices on successful probe")
Link:
https://lore.kernel.org/r/X/ycQpu7NIGI969v@gerhold.net
Reported-by: Stephan Gerhold <stephan@gerhold.net>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: Rafael. J. Wysocki <rafael@kernel.org>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c
patch
|
blob
|
history
diff --git
a/drivers/base/dd.c
b/drivers/base/dd.c
index
0b76b54
..
9179825
100644
(file)
--- a/
drivers/base/dd.c
+++ b/
drivers/base/dd.c
@@
-370,13
+370,6
@@
static void driver_bound(struct device *dev)
device_pm_check_callbacks(dev);
- /*
- * Reorder successfully probed devices to the end of the device list.
- * This ensures that suspend/resume order matches probe order, which
- * is usually what drivers rely on.
- */
- device_pm_move_to_tail(dev);
-
/*
* Make sure the device is no longer in one of the deferred lists and
* kick off retrying all pending devices