Skip to content

Commit

Permalink
Revert "driver core: Reorder devices on successful probe"
Browse files Browse the repository at this point in the history
This reverts commit 5b6164d.

Stephan reports problems with this commit, so revert it for now.

Fixes: 5b6164d ("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>
  • Loading branch information
Greg Kroah-Hartman committed Jan 12, 2021
1 parent 29f7c54 commit 895bee2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/base/dd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 895bee2

Please sign in to comment.