diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-30 21:46:42 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-14 23:33:11 (GMT) |
commit | 37f908778f20bbcc35ab9a98a5b584329c6abf08 (patch) | |
tree | 1b8dfacd079665a19dee7a876fb79f68e75da505 /kernel | |
parent | 96c0a4d4902c3d5f56bde95d3e2d96689ca64b6d (diff) | |
download | linux-37f908778f20bbcc35ab9a98a5b584329c6abf08.tar.xz |
ACPI / dock: Walk list in reverse order during removal of devices
If there are indirect dependencies between devices in a dock
station's dependent devices list, they may be broken if the devices
are removed in the same order in which they have been added.
For this reason, make the code in handle_eject_request() walk the
list of dependent devices in reverse order.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions