aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2017-01-03 18:28:43 +0200
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:09 +0200
commitd2682bb4199d554be0b403da02df4d85b595068a (patch)
tree9c25824143ecc85291a66e00210f91b2f5be510e /include/linux/kernel_stat.h
parent95c09d2354e75ae47c1de539699469879e978e85 (diff)
xhci: free xhci virtual devices with leaf nodes first
commit ee8665e28e8d90ce69d4abe5a469c14a8707ae0e upstream. the tt_info provided by a HS hub might be in use to by a child device Make sure we free the devices in the correct order. This is needed in special cases such as when xhci controller is reset when resuming from hibernate, and all virt_devices are freed. Also free the virt_devices starting from max slot_id as children more commonly have higher slot_id than parent. Reported-by: Guenter Roeck <groeck@chromium.org> Tested-by: Guenter Roeck <groeck@chromium.org> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions